2.42.9-1
[arch-packages.git] / libtirpc / trunk / PKGBUILD
blob23da37ac227e3e8391c02fdb41fe53329b8dd23a
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=1
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 options=('debug')
15 # git tree: git://linux-nfs.org/~steved/libtirpc
16 source=(https://downloads.sourceforge.net/sourceforge/libtirpc/${pkgname}-${pkgver}.tar.bz2)
17 sha1sums=('6e52c39148494e4836e2d5d4f28b11ddfa65394b')
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