Skip to content

Instantly share code, notes, and snippets.

@Fryie
Created January 19, 2015 00:34
Show Gist options
  • Save Fryie/7a327519013c131e69c5 to your computer and use it in GitHub Desktop.
Save Fryie/7a327519013c131e69c5 to your computer and use it in GitHub Desktop.
Exercism CLI v1.9.2 PKGBUILD
# Maintainer: linduxed <[email protected]>
pkgname=exercism-cli
pkgver=v1.9.2
pkgrel=1
pkgdesc="Command line client for exercism.io"
arch=("i686" "x86_64")
url="https://github.com/exercism/cli"
license=("MIT")
source=("https://github.com/exercism/cli/releases/download/$pkgver/exercism-linux-64bit.tgz"
"https://raw.githubusercontent.com/exercism/cli/$pkgver/LICENSE")
md5sums=("0addd1c97d8750cbcdd404deede6aca2"
"f92fe05e2b91655399f2a8b9d24bfe41")
if [[ $CARCH = "i686" ]]; then
source=("https://github.com/exercism/cli/releases/download/$pkgver/exercism-linux-32bit.tgz"
"https://raw.githubusercontent.com/exercism/cli/$pkgver/LICENSE")
md5sums=("97ceb42b1356c7f8c547b60c0ba4270e"
"f92fe05e2b91655399f2a8b9d24bfe41")
fi
package(){
cd "$srcdir"
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -D exercism "$pkgdir/usr/bin/exercism"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment