summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Schindler2018-12-04 14:16:43 +0000
committerFelix Schindler2018-12-04 14:16:43 +0000
commitd553fefab3853d36a0ab892d28d803163c87b61a (patch)
tree9544ba7404bee0612f1d8cde23fb6aaa3bac8c3b
parentc42f81d216bcdcabdf1db4fbfe8e7ce2476de1d2 (diff)
downloadaur-d553fefab3853d36a0ab892d28d803163c87b61a.tar.gz
[0.1-2]
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD10
2 files changed, 7 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b432b0663e9..b86fd40c88a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = libtirpc-compat
pkgdesc = Transport Independent RPC library (SunRPC replacement, backwards compatible links)
pkgver = 0.1
- pkgrel = 1
+ pkgrel = 2
url = http://libtirpc.sourceforge.net/
arch = x86_64
license = BSD
diff --git a/PKGBUILD b/PKGBUILD
index 90bef8b247b..63c8996a457 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=libtirpc-compat
pkgver=0.1
-pkgrel=1
+pkgrel=2
pkgdesc="Transport Independent RPC library (SunRPC replacement, backwards compatible links)"
arch=('x86_64')
url="http://libtirpc.sourceforge.net/"
@@ -16,9 +16,11 @@ build() {
package() {
mkdir -p "${pkgdir}"/usr/include/rpc
- cd "${pkgdir}"/usr/include/rpc
- for ii in $(ls /usr/include/tirpc/*); do
- ln -s ../tirpc/rpc/$ii .
+ for ii in $(cd /usr/include/tirpc/ && ls *.h); do
+ ln -s /usr/include/tirpc/$ii "${pkgdir}"/usr/include/rpc/$ii
+ done
+ for ii in $(cd /usr/include/tirpc/rpc/ && ls *.h); do
+ ln -s /usr/include/tirpc/rpc/$ii "${pkgdir}"/usr/include/rpc/$ii
done
}