summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorIru Cai2017-05-01 09:28:02 +0800
committerIru Cai2017-05-01 09:28:02 +0800
commit09df6f879853b5dc70b546f27cb75ca4465a49a8 (patch)
treea89eead3dbd1c12eb56dc879741ede37d4d6e0de /PKGBUILD
parente1536bc912dac488da77caea1eda30ad5e40856f (diff)
downloadaur-09df6f879853b5dc70b546f27cb75ca4465a49a8.tar.gz
2017.01.01
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 6 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index cbe74ac4e5f..00114e420a3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,25 +1,23 @@
# Contributor: Pierpaolo Valerio <gondsman@techgeek.co.in>
pkgname=dpic
-pkgver=20160112
+pkgver=2017.01.01
pkgrel=1
pkgdesc="A pic language interpreter"
arch=('x86_64' 'i686')
url="http://www.ece.uwaterloo.ca/~aplevich/dpic/"
license=('BSD')
-makedepends=('gcc')
-source=('https://ece.uwaterloo.ca/~aplevich/dpic/dpic.tar.gz')
-md5sums=('abf984ffdd14bc58acb0dd6633e8d211')
+makedepends=()
+source=("https://ece.uwaterloo.ca/~aplevich/dpic/dpic-$pkgver.tar.gz")
+sha256sums=('ced5610fe137dc55f3f53af0a53ed1a3f95eb18049b9073c8bc66e7c0724a847')
build() {
- mv "$srcdir/$pkgname-2016.01.12" "$srcdir/$pkgname"
+ mv "$srcdir/$pkgname-$pkgver" "$srcdir/$pkgname"
cd "$srcdir/$pkgname"
+ ./configure --prefix=/usr
make
}
package() {
- mkdir -p $pkgdir/usr/share/man/man1
- mv dpic/doc/dpic.1 $pkgdir/usr/share/man/man1
-
cd "$srcdir/$pkgname"
make DESTDIR=$pkgdir/usr install
}