Skip to content

Instantly share code, notes, and snippets.

@Fryie
Created January 19, 2015 00:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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 <linduxed@gmail.com>
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