42 lines
1.5 KiB
Bash
42 lines
1.5 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://git.disroot.org/joborun-pkg/jobcore/src/branch/main/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=libtirpc
|
|
pkgver=1.3.5
|
|
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=('SISSL' 'BSD-3-Clause')
|
|
|
|
sha1sums=('f5b209b2a7f3ffcdcff5b5b54fefc6a90ddec0d3')
|
|
sha512sums=('c80a953671c5692294efe7425e41c7f12bd4c430f473f9ea71883168cb4a69111f0018122bd0e7982e18f4576e45d4977ce0790743382faae006c446813d2a4f')
|
|
sha256sums=(9b31370e5a38d3391bf37edfa22498e28fe2142467ae6be7a17c9068ec0bf12f) # libtirpc-1.3.5.tar.bz2
|
|
|
|
## f194d4ef1dc6496abb01bf560b971c9f6c59270e94fc1a633761de8a6d63b878 libtirpc-1.3.5-01-x86_64.pkg.tar.lz
|