diff options
author | Alex Dewar | 2018-04-12 13:47:18 +0100 |
---|---|---|
committer | Alex Dewar | 2018-04-12 13:47:18 +0100 |
commit | 8267d9929e50ec65009e38dab6d38360bb1c563a (patch) | |
tree | bc7b5fd9a0f61553eb52da60138a4d0a4a104da9 /PKGBUILD | |
parent | a3f7b75264175912ebe929eef3a1cfe67e7c3296 (diff) | |
download | aur-8267d9929e50ec65009e38dab6d38360bb1c563a.tar.gz |
fix in package problem
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -43,5 +43,14 @@ package() { mkdir -p out/arsdk-native ln -s ../.. out/arsdk-native/staging + # install license install -Dm 644 "$srcdir"/packages/ARSDKBuildUtils/LICENSE.md "$pkgdir"/usr/share/licenses/LICENSE + + # fix up hard-coded paths + cd $_target + _srcpath=`realpath "${srcdir}/out/arsdk-native/staging/usr"` + sed -i "s|$_srcpath|/opt/$pkgname|g" bin/curl-config + for f in lib/pkgconfig/*; do + sed -i "s|$_srcpath|/opt/$pkgname|g" "$f" + done } |