diff options
author | lpxl | 2020-05-28 15:05:27 -0300 |
---|---|---|
committer | lpxl | 2020-05-28 15:05:27 -0300 |
commit | 5446a5b15540d4a1812efca9ca00b46665512049 (patch) | |
tree | 508e10daa91fd0bccc9d82f424ae3fbd9d2b7d9a | |
parent | 73f5e809a50347fa001b98cc4d42182ea92d6909 (diff) | |
download | aur-5446a5b15540d4a1812efca9ca00b46665512049.tar.gz |
Remove buggy wildcard expansion.
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -2,7 +2,7 @@ _pkgname=Pixelorama pkgname=pixelorama-bin pkgver=0.7 -pkgrel=1 +pkgrel=2 pkgdesc="A free & open-source 2D sprite editor, made with the Godot Engine - precompiled binary" arch=('i686' 'x86_64') url="https://www.orama-interactive.com/pixelorama" @@ -34,7 +34,8 @@ package() { install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" install -Dm644 "$srcdir/pixelorama.png" "$pkgdir/usr/share/icons/hicolor/256x256/apps" - chmod +x ${pkgdir}/opt/${pkgname}/{*.so,${_pkgname}.x86*} + test "${CARCH}" == 'x86_64' && _pkgarch='x86_64' || _pkgarch='x86' + chmod +x ${pkgdir}/opt/${pkgname}/{*.so,${_pkgname}.${_pkgarch}} - ln -s /opt/${pkgname}/${_pkgname}.x86* "$pkgdir/usr/bin/pixelorama" + ln -s /opt/${pkgname}/${_pkgname}.${_pkgarch} "$pkgdir/usr/bin/pixelorama" } |