diff options
author | Bandie | 2018-05-14 00:29:11 +0200 |
---|---|---|
committer | Bandie | 2018-05-14 00:29:11 +0200 |
commit | 69238b5745d625ae8e472608f141337a81642a95 (patch) | |
tree | f5c0bca62ee3a206996bb6fbdba01fa8b81aa93d /PKGBUILD | |
download | aur-69238b5745d625ae8e472608f141337a81642a95.tar.gz |
pam_panic's git roll~
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9ac41b4f1d87 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Bandie <bandie@chaospott.de> + +pkgname=pam_panic-git +pkgver=r117.a6be91e +pkgrel=1 +pkgdesc="A PAM module that protects sensitive data and provides a panic function for emergency situations." +arch=('any') +url="https://github.com/pampanic/pam_panic" +license=('GPL3') +# depends=('') +makedepends=('git' 'autoconf') +#checkdepends=('') # Soon it will be cmake +validpgpkeys=('E2D7876915312785DC086BFCC1E133BC65A822DD') +source=("$pkgname-$pkgver::git://github.com/pampanic/pam_panic.git") +sha512sums=('SKIP') + +pkgver() { + cd "$pkgname-$pkgver" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd $pkgname-$pkgver + autoreconf -i + ./configure --prefix=/usr + make +} + +check() { + echo "No checks yet. But soon!" +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir/" install +} + |