aboutsummaryrefslogtreecommitdiffstats
path: root/libterminput/PKGBUILD
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-04-10 22:45:06 +0200
committerMattias Andrée <maandree@kth.se>2021-04-10 22:45:06 +0200
commitfbfccf099bdac3c0e72e137e14426582df2493d1 (patch)
treef5aae64051572ec11834e367104215f91caa29c1 /libterminput/PKGBUILD
parentUpdate libsimple (diff)
downloadaur-packages-fbfccf099bdac3c0e72e137e14426582df2493d1.tar.gz
aur-packages-fbfccf099bdac3c0e72e137e14426582df2493d1.tar.bz2
aur-packages-fbfccf099bdac3c0e72e137e14426582df2493d1.tar.xz
Add libterminput
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libterminput/PKGBUILD')
-rw-r--r--libterminput/PKGBUILD29
1 files changed, 29 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
+}