1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
2 # Contributor: Tom Gundersen <teg@jklm.no>
3 # Contributor: Tobias Powalowski <tpowa@archlinux.org>
8 pkgdesc="Transport Independent RPC library (SunRPC replacement)"
10 url="http://git.linux-nfs.org/?p=steved/libtirpc.git;a=summary"
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')
20 cd ${pkgname}-${pkgver}
21 ./configure --prefix=/usr --sysconf=/etc
22 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
27 cd ${pkgname}-${pkgver}
28 make DESTDIR="${pkgdir}" install
29 install -D -m644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE