summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJeff Parent2015-06-15 21:06:45 -0500
committerJeff Parent2015-06-15 21:06:45 -0500
commit4c99b7b5d2b30af3da30bf74db633cd8a69809cd (patch)
tree4f273a1f5148eb41da7ead913234baec6b1392f6 /PKGBUILD
downloadaur-4c99b7b5d2b30af3da30bf74db633cd8a69809cd.tar.gz
Initial Import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..e892cd742152
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Jeff Parent <jecxjo@sdf.lonestar.org>
+# Contributor: Jeff Parent <jecxjo@sdf.lonestar.org>
+
+pkgname=ddwarf
+pkgver=0.83
+pkgrel=2
+pkgdesc="Digger Dwarf is a console-based gopher client"
+license=("GPL")
+source=("http://www.viste-family.net/mateusz/software/ddwarf/ddwarf083-src.zip")
+arch=('i686' 'x86_64')
+makedepends=('freebasic')
+url="http://www.viste-family.net/mateusz/software/ddwarf/"
+sha256sums=('03b6acdd16bcc44bf36e38ba8aab5fa21509703422c0c0b9c8cd466dadcee5a5')
+
+build() {
+ echo "Building chisock"
+ cd "$srcdir/chisock"
+ fbc *.bas -g -mt -lib -x libchisock.a
+
+ echo "Building ddwarf"
+ cd "$srcdir"
+ cp ./chisock/libchisock.a .
+ fbc -mt ddwarf.bas
+}
+
+package() {
+ mkdir -p "$pkgdir/usr/bin"
+ cp "$srcdir/ddwarf" "$pkgdir/usr/bin"
+ chmod a+x "$pkgdir/usr/bin/ddwarf"
+}
+