Created
February 9, 2015 13:03
-
-
Save olebowle/cfd8ca723b515fca631b to your computer and use it in GitHub Desktop.
dpic
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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