diff options
author | bartus | 2021-07-02 11:35:33 +0200 |
---|---|---|
committer | bartus | 2021-07-02 11:35:33 +0200 |
commit | 1d771c56eee2a9a60c94d0c94a6745b40e4f83c3 (patch) | |
tree | 17eb0b93bb3bbb4fb0c507b61f8f1d97b337beff /PKGBUILD | |
parent | 20841f877191c3b43f7f5c22d61a14aed67587df (diff) | |
download | aur-1d771c56eee2a9a60c94d0c94a6745b40e4f83c3.tar.gz |
Fix file mode, strip rpath
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -6,6 +6,8 @@ pkgrel=1 pkgdesc='Platform and API toolkit to transfer existing content into the FBX format.' arch=('i686' 'x86_64') url='http://www.autodesk.com/products/fbx/overview' +depends=(gcc-libs) +makedepends=(patchelf) license=('custom') install='fbx-sdk.install' source=("https://damassets.autodesk.net/content/dam/autodesk/www/adn/fbx/${pkgver//./-}/fbx${pkgver//./}_fbxsdk_linux.tar.gz") @@ -30,5 +32,12 @@ package() { cp -r samples "$pkgdir/usr/share/doc/$pkgname" install -D "FBX_SDK_Online_Documentation.html" "$pkgdir/usr/share/doc/$pkgname/FBX_SDK_Online_Documentation.html" install -D "License.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + # fix 600 mode + find "$pkgdir"/usr/{include,share} -type f -exec chmod 644 {} \+ + find "$pkgdir"/usr/{include,share} -type d -exec chmod 755 {} \+ + + # strip rpath + patchelf --remove-rpath "$pkgdir"/usr/lib/libfbxsdk.so } |