From 4923b942bfc1889d3b2f3f6cb20b2aeef6a65f06 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Sat, 10 Mar 2018 19:42:41 +0100 Subject: testing/fs-uae-launcher: improve abuild, fix code-style --- testing/fs-uae-launcher/APKBUILD | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'testing/fs-uae-launcher') 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" -- cgit v1.2.3