Commit 4923b942 authored by Jakub Jirutka's avatar Jakub Jirutka

testing/fs-uae-launcher: improve abuild, fix code-style

parent 20e28bd6
......@@ -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"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment