aboutsummaryrefslogtreecommitdiffstats
path: root/libterminput
diff options
context:
space:
mode:
Diffstat (limited to 'libterminput')
-rw-r--r--libterminput/PKGBUILD29
l---------libterminput/upload1
2 files changed, 30 insertions, 0 deletions
diff --git a/libterminput/PKGBUILD b/libterminput/PKGBUILD
new file mode 100644
index 0000000..ce3902a
--- /dev/null
+++ b/libterminput/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se>
+
+pkgname=libterminput
+pkgver=1.0
+pkgrel=1
+pkgdesc="Keccak-family hashing library"
+arch=(x86_64)
+url="https://github.com/maandree/libterminput"
+license=('custom:ISC')
+depends=()
+checkdepends=()
+makedepends=()
+source=(libterminput-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
+sha256sums=(ec0d858d12e2e297f22710d2dba0a2459b2025da54f69c22c2366d52998776f0)
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make PREFIX=/usr
+}
+
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make check
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make PREFIX=/usr DESTDIR="$pkgdir" install
+}
diff --git a/libterminput/upload b/libterminput/upload
new file mode 120000
index 0000000..1e7a8be
--- /dev/null
+++ b/libterminput/upload
@@ -0,0 +1 @@
+../upload \ No newline at end of file