Skip to content

Instantly share code, notes, and snippets.

@olebowle
Created February 9, 2015 13:03
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 olebowle/cfd8ca723b515fca631b to your computer and use it in GitHub Desktop.
Save olebowle/cfd8ca723b515fca631b to your computer and use it in GitHub Desktop.
dpic
# Maintainer: Matteo Agostinelli <matteo@agostinelli.me>
pkgname=dpic
pkgver=20150204
pkgrel=1
pkgdesc="A pic language interpreter"
arch=('i686' 'x86_64')
url="http://www.ece.uwaterloo.ca/~aplevich/dpic/"
license=('BSD')
depends=('glibc')
source=('https://ece.uwaterloo.ca/~aplevich/dpic/dpic.tar.gz')
md5sums=('3c7c79fd669cef21b37c54c177664d30')
prepare() {
cd "$pkgname"
sed '1,/BSD Licence:/d' README > LICENSE
}
build() {
cd "$pkgname"
make
}
package() {
cd "$pkgname"
make DESTDIR="$pkgdir" PREFIX='/usr' install
install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment