aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fs-uae-launcher/APKBUILD
blob: e7c326eda3649e0a8e6240f91f5c1c3103e245d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Taner Tas <taner76@gmail.com>
pkgname=fs-uae-launcher
pkgver=2.8.4
pkgrel=0
pkgdesc="FS-UAE emulator launcher."
url="https://fs-uae.net/launcher"
arch="noarch !armhf !armv7 !aarch64 !s390x"  # fs-uae not avail
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

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 ../share/fs-uae-launcher/fs-uae-launcher "$pkgdir"/usr/bin/fs-uae-launcher
	rm -rf "$pkgdir"/usr/share/doc
}

sha512sums="b4450632b85795fb290a87cf60b6caa67c05681ae1e62f391986c3d743ddba5c5963705f85f41c9e3c8159c569db39493ebc41a8f97528f27bb72e314bfe1758  fs-uae-launcher-2.8.4.tar.gz"