summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorIru Cai2017-05-01 09:28:02 +0800
committerIru Cai2017-05-01 09:28:02 +0800
commit09df6f879853b5dc70b546f27cb75ca4465a49a8 (patch)
treea89eead3dbd1c12eb56dc879741ede37d4d6e0de
parente1536bc912dac488da77caea1eda30ad5e40856f (diff)
downloadaur-09df6f879853b5dc70b546f27cb75ca4465a49a8.tar.gz
2017.01.01
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD14
2 files changed, 11 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bc2759afc40..f0056d6df21 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,15 @@
+# Generated by mksrcinfo v8
+# Mon May 1 01:27:43 UTC 2017
pkgbase = dpic
pkgdesc = A pic language interpreter
- pkgver = 20160112
+ pkgver = 2017.01.01
pkgrel = 1
url = http://www.ece.uwaterloo.ca/~aplevich/dpic/
arch = x86_64
arch = i686
license = BSD
- makedepends = gcc
- source = https://ece.uwaterloo.ca/~aplevich/dpic/dpic.tar.gz
- md5sums = abf984ffdd14bc58acb0dd6633e8d211
+ source = https://ece.uwaterloo.ca/~aplevich/dpic/dpic-2017.01.01.tar.gz
+ sha256sums = ced5610fe137dc55f3f53af0a53ed1a3f95eb18049b9073c8bc66e7c0724a847
pkgname = dpic
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
}