aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fs-uae-launcher/APKBUILD
blob: b80cf6b8ee0bc4a806b8cc9e550ac249cb3639ae (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
# Maintainer: Taner Tas <taner76@gmail.com>
pkgname=fs-uae-launcher
pkgver=3.0.0
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 py3-sip-pyqt5"
makedepends="py3-setuptools gettext"
subpackages="$pkgname-lang"
source="https://fs-uae.net/stable/$pkgver/$pkgname-$pkgver.tar.gz"
options="!check"  # no testsuite

package() {
	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="76f9c48d2a46ece38aebb318a6d684ff40e85fef76bcc6ac57c7f397c828dae45541ba458a7792f102a8afc69a4183b9932b637318716a8b40ff3dbd3b37cad7  fs-uae-launcher-3.0.0.tar.gz"