31 lines
982 B
Text
31 lines
982 B
Text
# Maintainer: AndyRTR <andyrtr@archlinux.org>
|
|
# Contributor: Tom Gundersen <teg@jklm.no>
|
|
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
pkgname=libtirpc
|
|
pkgver=1.3.3
|
|
pkgrel=2
|
|
pkgdesc="Transport Independent RPC library (SunRPC replacement)"
|
|
arch=('x86_64')
|
|
url="http://git.linux-nfs.org/?p=steved/libtirpc.git;a=summary"
|
|
license=('BSD')
|
|
depends=('krb5')
|
|
backup=('etc/netconfig')
|
|
options=('debug')
|
|
# git tree: git://linux-nfs.org/~steved/libtirpc
|
|
source=(https://downloads.sourceforge.net/sourceforge/libtirpc/${pkgname}-${pkgver}.tar.bz2)
|
|
sha1sums=('6e52c39148494e4836e2d5d4f28b11ddfa65394b')
|
|
sha256sums=('6474e98851d9f6f33871957ddee9714fdcd9d8a5ee9abb5a98d63ea2e60e12f3')
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
./configure --prefix=/usr --sysconf=/etc
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
make DESTDIR="${pkgdir}" install
|
|
install -D -m644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
|
|
}
|