aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pam-krb5/APKBUILD
blob: 703b4e84c440787c605caf04053e588e84a849f5 (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
31
32
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=pam-krb5
pkgver=4.8
pkgrel=0
pkgdesc="PAM module providing Kerberos v5 support"
url="http://www.eyrie.org/~eagle/software/pam-krb5"
arch="all"
license="custom"
depends=""
makedepends="krb5-dev linux-pam-dev"
install=""
subpackages="$pkgname-doc"
source="http://archives.eyrie.org/software/kerberos/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/${pkgname}-${pkgver}"

build() {
	cd "$builddir"
	./configure \
		--prefix=/usr \
		--enable-reduced-depends \
		--libdir=/usr/lib || return 1
	make || return 1
}

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

sha512sums="a28dc0e2dd8b44ae4beac6545a8b47c8a937fa793320412a46e7c776dc6034ccae2d3603416fde944f8ae9fda571b621fbe4d2ae022cad3d5c715cc70fb17ee0  pam-krb5-4.8.tar.gz"