diff options
author | root <root@rshg047.dnsready.net> | 2011-05-12 22:37:15 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-05-12 22:37:15 +0000 |
commit | 1982ae8d63ab142a2a16bdf1b055110d9c9f40fd (patch) | |
tree | dbb34352753ef1b7e1893aa225490fad5306ba22 /core/libtirpc | |
parent | 5c25d28847bcae8c3c51c1babcb09d36c7fbddba (diff) |
Thu May 12 22:37:08 UTC 2011
Diffstat (limited to 'core/libtirpc')
-rw-r--r-- | core/libtirpc/PKGBUILD | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/core/libtirpc/PKGBUILD b/core/libtirpc/PKGBUILD index 952640dcb..b222249ff 100644 --- a/core/libtirpc/PKGBUILD +++ b/core/libtirpc/PKGBUILD @@ -1,28 +1,32 @@ -# $Id: PKGBUILD 97756 2010-11-01 19:49:14Z tpowa $ +# $Id: PKGBUILD 121179 2011-04-29 06:50:46Z stephane $ # Maintainer: Tobias Powalowski <tpowa@archlinux.org> pkgname=libtirpc pkgver=0.2.1 -pkgrel=2 +pkgrel=3 pkgdesc="Transport Independent RPC library (SunRPC replacement)" arch=(i686 x86_64) -depends=('glibc' 'libgssglue' 'heimdal') +depends=('glibc' 'libgssglue' 'krb5') url="http://libtirpc.sourceforge.net/" license=('GPL2') -source=(http://downloads.sourceforge.net/sourceforge/libtirpc/$pkgname-$pkgver.tar.bz2 +source=(http://downloads.sourceforge.net/sourceforge/libtirpc/${pkgname}-${pkgver}.tar.bz2 libtirpc-0.2.1-fortify.patch) backup=('etc/netconfig') options=(!libtool) build() { - cd $srcdir/$pkgname-$pkgver + cd "${srcdir}/${pkgname}-${pkgver}" # fix http://bugs.gentoo.org/293593 # https://bugs.archlinux.org/task/20082 patch -Np1 -i ../libtirpc-0.2.1-fortify.patch ./configure --prefix=/usr --enable-gss - make || return 1 - make DESTDIR=$pkgdir install || return 1 + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install # install netconfig - install -D -m644 doc/etc_netconfig $pkgdir/etc/netconfig + install -D -m644 doc/etc_netconfig "${pkgdir}"/etc/netconfig } md5sums=('d77eb15f464bf9d6e66259eaf78b2a4e' '2e5c067f1651469dfbbdc91d3c9c60e8') |