aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-03-10 19:42:41 +0100
committerJakub Jirutka <jakub@jirutka.cz>2018-03-10 19:42:41 +0100
commit4923b942bfc1889d3b2f3f6cb20b2aeef6a65f06 (patch)
tree20c070aeaa17e2f44711c0ecc0240a6607326477 /testing
parent20e28bd69b823376a3f369b1decbb7da7bccd1e0 (diff)
downloadaports-4923b942bfc1889d3b2f3f6cb20b2aeef6a65f06.tar.bz2
aports-4923b942bfc1889d3b2f3f6cb20b2aeef6a65f06.tar.xz
testing/fs-uae-launcher: improve abuild, fix code-style
Diffstat (limited to 'testing')
-rw-r--r--testing/fs-uae-launcher/APKBUILD27
1 files changed, 14 insertions, 13 deletions
diff --git a/testing/fs-uae-launcher/APKBUILD b/testing/fs-uae-launcher/APKBUILD
index 43c8fc9ed8..28146efb4a 100644
--- a/testing/fs-uae-launcher/APKBUILD
+++ b/testing/fs-uae-launcher/APKBUILD
@@ -9,21 +9,22 @@ license="GPL-2.0-only"
depends="fs-uae~$pkgver py3-qt5"
makedepends="py3-setuptools gettext"
subpackages="$pkgname-lang"
-source="https://fs-uae.net/stable/${pkgver}/${pkgname}-${pkgver}.tar.gz"
-options="!check" # no testsuite
-
-build() {
- return 0
-}
+source="https://fs-uae.net/stable/$pkgver/$pkgname-$pkgver.tar.gz"
+options="!check" # no testsuite
package() {
cd "$builddir"
- python3 setup.py install --root="${pkgdir}" \
- --install-lib=/usr/share/fs-uae-launcher \
- --install-scripts=/usr/share/fs-uae-launcher
- make DESTDIR="${pkgdir}" prefix=/usr install-data
- mkdir -p "${pkgdir}"/usr/bin
- ln -s /usr/share/fs-uae-launcher/fs-uae-launcher "${pkgdir}"/usr/bin/fs-uae-launcher
- rm -rf "${pkgdir}"/usr/share/doc
+
+ python3 setup.py install \
+ --root="$pkgdir" \
+ --install-lib=/usr/share/fs-uae-launcher \
+ --install-scripts=/usr/share/fs-uae-launcher
+
+ make DESTDIR="$pkgdir" prefix=/usr install-data
+
+ mkdir -p "$pkgdir"/usr/bin
+ ln -s ../share/fs-uae-launcher/fs-uae-launcher "$pkgdir"/usr/bin/fs-uae-launcher
+ rm -rf "$pkgdir"/usr/share/doc
}
+
sha512sums="4eaa5979fe2e8f2c792d4878e9a9ad0a0433206aac42aa380d97aee21e4ba29a54caced2437b83357c2c4d2fab121bfb821fdb8a883ead971766866b02067a2d fs-uae-launcher-2.8.3.tar.gz"