summaryrefslogtreecommitdiff
path: root/community/pam-krb5/PKGBUILD
blob: 4553c630b4098cb9d046486fef4cc5d5785d6b2a (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
# $Id: PKGBUILD 64590 2012-02-16 20:49:57Z kchen $
# Maintainer: Kaiting Chen <kaitocracy@gmail.com>
# Contributor: Ryan Corder <ryanc@greengrey.org>

pkgname=pam-krb5
pkgver=4.5
pkgrel=1
pkgdesc='A PAM module providing Kerberos v5 support.'
arch=('i686' 'x86_64')
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")
md5sums=('5736795225cf7f84718af42a15570fe0')

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

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