# Maintainer: Bandie pkgname=pam_panic-git pkgver=r336.829475d pkgrel=2 pkgdesc="A PAM module that protects sensitive data and provides a panic function for emergency situations. Authentication through passwords or removable media." arch=('any') url="https://github.com/pampanic/pam_panic" license=('GPL3') depends=('cryptsetup' 'dialog') makedepends=('git' 'automake' 'autoconf' 'make' 'gcc' 'which' 'groff' 'gettext' 'm4' 'fakeroot' 'gawk' 'pam' 'cryptsetup' 'dialog' 'po4a') checkdepends=('bcunit-cunit-compat') 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() { cd $pkgname-$pkgver make test make clean make } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir/" install }