summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD24
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1ff24033a33
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+# Generated by makepkg 4.2.1
+# Mon Aug 10 19:26:10 UTC 2015
+pkgbase = dpic
+ pkgdesc = A pic language interpreter
+ pkgver = 20150629
+ 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 = 00056f64a580d6d42a5d47541ed814df
+
+pkgname = dpic
+
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
+}