From aae27b1385b105f5589b593bd874bb1a7f0f5ec3 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 11 Feb 2019 10:24:55 +0100 Subject: pamtester neu --- pamtester/PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 pamtester/PKGBUILD diff --git a/pamtester/PKGBUILD b/pamtester/PKGBUILD new file mode 100644 index 00000000..f654b789 --- /dev/null +++ b/pamtester/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Erich Eckner +# Contributor: Mantas Mikulėnas +pkgname=pamtester +pkgver=0.1.2 +pkgrel=3 +pkgdesc="Tiny program to test the pluggable authentication modules (PAM) facility" +arch=(i686 x86_64) +url="http://pamtester.sourceforge.net/" +license=(custom) +depends=(pam) +source=("http://sourceforge.net/projects/pamtester/files/pamtester/$pkgver/pamtester-$pkgver.tar.gz") +sha256sums=('83633d0e8a4f35810456d9d52261c8ae0beb9148276847cae8963505240fb2d5') + +build() { + cd "$pkgname-$pkgver" + ./configure --prefix=/usr --mandir=/usr/share/man + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname" +} + +# vim: ts=2:sw=2:et -- cgit v1.2.3-70-g09d2