summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Bernardoff2019-12-22 20:24:01 +0100
committerVincent Bernardoff2019-12-22 20:24:01 +0100
commitb1c15562fad55a7b6896b51baa67446a00c0ed62 (patch)
tree19e11fb9648bba1acd0e23c851fc67c7f3cd84ab
downloadaur-klong.tar.gz
Initial commit.
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD26
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5fdcb96a7e7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+# Generated by mksrcinfo v8
+# Sun Dec 22 19:23:02 UTC 2019
+pkgbase = klong
+ pkgdesc = A simple array language
+ pkgver = 20190926
+ pkgrel = 1
+ url = http://t3x.org/klong
+ arch = armv7h
+ arch = aarch64
+ arch = x86_64
+ license = CC0
+ source = http://t3x.org/klong/klong20190926.tgz
+ md5sums = d03ed117cc8b9fadc87c1dd68b7fe7ec
+
+pkgname = klong
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5c6bbf9395e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Vincent B. <vb AT luminar.eu.org>
+pkgname=klong
+pkgver=20190926
+pkgrel=1
+pkgdesc="A simple array language"
+arch=('armv7h' 'aarch64' 'x86_64')
+url="http://t3x.org/klong"
+license=("CC0")
+source=("http://t3x.org/klong/klong${pkgver}.tgz")
+md5sums=('d03ed117cc8b9fadc87c1dd68b7fe7ec')
+
+build() {
+ cd ${srcdir}/${pkgname}
+ make
+}
+
+check() {
+ cd ${srcdir}/${pkgname}
+ make test
+}
+
+package() {
+ mkdir -p ${pkgdir}/usr/{bin,lib}
+ cp ${srcdir}/${pkgname}/{kg,kplot} ${pkgdir}/usr/bin
+ cp -a ${srcdir}/${pkgname}/lib ${pkgdir}/usr/lib/klong
+}