summaryrefslogtreecommitdiff
path: root/pamtester/PKGBUILD
blob: fdaa771813edebf5023659f47fbad0cefba397f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: Mantas Mikulėnas <grawity@gmail.com>
pkgname=pamtester
pkgver=0.1.2
pkgrel=7
pkgdesc="Tiny program to test the pluggable authentication modules (PAM) facility"
arch=(i686 pentium4 x86_64)
url="http://pamtester.sourceforge.net/"
license=(custom)
_pinned_dependencies=(
  'glibc>=2.31'
  'pam=1.4.0'
)
depends=("${_pinned_dependencies[@]}")
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