summaryrefslogtreecommitdiff
path: root/community/pam-krb5/PKGBUILD
blob: c0e35c92b965f79b1ef75b8d0837d1c038f6786f (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
# $Id: PKGBUILD 78535 2012-10-20 10:30:17Z ebelanger $
# Maintainer: Kaiting Chen <kaitocracy@gmail.com>
# Contributor: Ryan Corder <ryanc@greengrey.org>

pkgname=pam-krb5
pkgver=4.6
pkgrel=1
pkgdesc='A PAM module providing Kerberos v5 support.'
arch=('i686' 'x86_64' 'mips64el')
url='http://www.eyrie.org/~eagle/software/pam-krb5/'
license=('custom')
options=('!libtool')
depends=('krb5' 'pam')
source=(http://archives.eyrie.org/software/kerberos/$pkgname-$pkgver.tar.gz{,.asc})
md5sums=('296e9c8281419ce1fc41d537d18f74b8'
         'c68a521345d79d54fb129a3f4ca2767b')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr \
    --enable-reduced-depends \
    --libdir=/usr/lib
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR=$pkgdir install
  install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}