diff options
author | Mattias Andrée <maandree@kth.se> | 2021-04-10 22:45:06 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-04-10 22:45:06 +0200 |
commit | fbfccf099bdac3c0e72e137e14426582df2493d1 (patch) | |
tree | f5aae64051572ec11834e367104215f91caa29c1 /libterminput/PKGBUILD | |
parent | Update libsimple (diff) | |
download | aur-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/PKGBUILD | 29 |
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 +} |