archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libtirpc / trunk / PKGBUILD
blob2a2f6380535f40aa131d79fe2b94f0397195d55c
1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
2 # Contributor: Tom Gundersen <teg@jklm.no>
3 # Contributor: Tobias Powalowski <tpowa@archlinux.org>
5 pkgname=libtirpc
6 pkgver=1.3.3
7 pkgrel=2
8 pkgdesc="Transport Independent RPC library (SunRPC replacement)"
9 arch=('x86_64')
10 url="http://git.linux-nfs.org/?p=steved/libtirpc.git;a=summary"
11 license=('BSD')
12 depends=('krb5')
13 backup=('etc/netconfig')
14 # git tree: git://linux-nfs.org/~steved/libtirpc
15 source=(https://downloads.sourceforge.net/sourceforge/libtirpc/${pkgname}-${pkgver}.tar.bz2)
16 sha1sums=('6e52c39148494e4836e2d5d4f28b11ddfa65394b')
17 sha256sums=('6474e98851d9f6f33871957ddee9714fdcd9d8a5ee9abb5a98d63ea2e60e12f3')
19 build() {
20   cd ${pkgname}-${pkgver}
21   ./configure --prefix=/usr --sysconf=/etc
22   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
23   make
26 package() {
27   cd ${pkgname}-${pkgver}
28   make DESTDIR="${pkgdir}" install
29   install -D -m644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE