40 lines
1.3 KiB
Bash
40 lines
1.3 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=libtirpc
|
|
pkgver=1.3.4
|
|
pkgrel=01
|
|
pkgdesc="Transport Independent RPC library (SunRPC replacement)"
|
|
url="http://git.linux-nfs.org/?p=steved/libtirpc.git;a=summary"
|
|
depends=('krb5')
|
|
backup=('etc/netconfig')
|
|
#options=('debug') ####### uncomment this to have the debug pkg produced
|
|
# git tree: git://linux-nfs.org/~steved/libtirpc
|
|
source=(https://downloads.sourceforge.net/sourceforge/libtirpc/${pkgname}-${pkgver}.tar.bz2)
|
|
|
|
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
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=('x86_64')
|
|
|
|
license=('BSD')
|
|
|
|
sha256sums=(1e0b0c7231c5fa122e06c0609a76723664d068b0dba3b8219b63e6340b347860) # libtirpc-1.3.4.tar.bz2
|
|
|
|
## 6ff6e15e4865581e070425ae9a55f7932445ac5b411343ac71161053be010a38 libtirpc-1.3.4-01-x86_64.pkg.tar.lz
|