summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..142f232b777
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Contributor: Pierpaolo Valerio <gondsman@techgeek.co.in>
+pkgname=dpic
+pkgver=20150629
+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=('00056f64a580d6d42a5d47541ed814df')
+
+build() {
+ cd "$srcdir/$pkgname"
+ 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
+}