4 pkgdesc="Obsolete client applications from the MIT Kerberos suite"
6 url="http://web.mit.edu/kerberos/"
9 makedepends=('perl' 'subversion')
10 provides=('krb5-appl')
11 conflicts=('krb5-appl')
13 _svntrunk='svn://anonsvn.mit.edu/krb5-appl/trunk'
18 msg "Connecting to SVN server..."
20 if [[ -d "$_svnmod/.svn" ]]; then
21 (cd "$_svnmod" && svn up -r "$pkgver")
23 #svn co "$_svntrunk" --config-dir ./ -r "$pkgver" "$_svnmod"
24 svn co "$_svntrunk" -r "$pkgver" "$_svnmod"
27 msg "Starting build..."
29 rm -rf "$_svnmod-build"
30 cp -r "$_svnmod" "$_svnmod-build"
33 export CFLAGS+=" -fPIC -fno-strict-aliasing -fstack-protector-all"
34 export CPPFLAGS+=" -I/usr/include/et"
36 ./configure --prefix=/usr \
37 --mandir=/usr/share/man \
38 --localstatedir=/var/lib \
45 cd "$srcdir/$_svnmod-build"
46 make DESTDIR="$pkgdir" install
48 install -Dm 644 "$srcdir/$_svnmod/NOTICE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"