2012-04-09 22:27:06 +08:00
|
|
|
pkgname=dpic
|
2015-07-08 06:01:59 +08:00
|
|
|
pkgver=2015.06.29
|
2012-04-09 22:27:06 +08:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="A pic language interpreter"
|
2013-02-18 03:51:21 +08:00
|
|
|
arch=('x86_64')
|
2012-04-09 22:27:06 +08:00
|
|
|
url="http://www.ece.uwaterloo.ca/~aplevich/dpic/"
|
|
|
|
license=('BSD')
|
|
|
|
makedepends=('gcc')
|
2013-12-09 00:20:07 +08:00
|
|
|
options=('!docs')
|
2015-07-08 06:01:59 +08:00
|
|
|
source=("https://ece.uwaterloo.ca/~aplevich/dpic/dpic.tar.gz")
|
|
|
|
sha512sums=('7e7ba112efa282406e57e3cacd52ed6fdef21d330b4a0cb87ecf9b24e927406b1e218063afe2b4b4db02816a985ef21c7d696e6ca91d2df822ccfe83624503c7')
|
2012-04-09 22:27:06 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $srcdir/$pkgname
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2013-12-09 00:20:07 +08:00
|
|
|
# Documentation
|
|
|
|
install -dm 755 ${pkgdir}/usr/share/man/man1
|
|
|
|
install -Dm644 ${srcdir}/${pkgname}/doc/dpic.1 $pkgdir/usr/share/man/man1
|
2012-04-09 22:27:06 +08:00
|
|
|
|
|
|
|
cd $srcdir/$pkgname
|
|
|
|
make DESTDIR=$pkgdir/usr install
|
|
|
|
}
|
2013-12-09 00:20:07 +08:00
|
|
|
|