archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / pam-krb5 / trunk / PKGBUILD
blob8bdf4ed849311f0bc6457390d74b1f021f038060
1 # Maintainer: Jonathan Steel <jsteel at archlinux.org>
2 # Contributor: Mantas Mikulėnas <grawity@gmail.com>
3 # Contributor: Kaiting Chen <kaitocracy@gmail.com>
4 # Contributor: Ryan Corder <ryanc@greengrey.org>
6 pkgname=pam-krb5
7 pkgver=4.11
8 pkgrel=2
9 pkgdesc="PAM module providing Kerberos v5 support"
10 arch=('x86_64')
11 url="https://www.eyrie.org/~eagle/software/pam-krb5/"
12 license=('custom')
13 depends=('krb5' 'pam')
14 source=(https://archives.eyrie.org/software/kerberos/$pkgname-$pkgver.tar.gz{,.asc})
15 sha256sums=('503cbe2cb1aff4bdfda3bcf7f93f94fb6ba52c26d708934e7039b2182fe10b20'
16             'SKIP')
17 validpgpkeys=('E784364E8DDE7BB370FBD9EAD15D313882004173') # Russ Allbery <eagle@eyrie.org>
19 build() {
20   cd $pkgname-$pkgver
22   ./configure --prefix=/usr --enable-reduced-depends --libdir=/usr/lib
24   make
27 package() {
28   cd $pkgname-$pkgver
30   make DESTDIR="$pkgdir" install
32   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"