aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fs-uae-launcher/APKBUILD
blob: 8a9f75be74a1d2f3af57b39905e3b84e5f9b0723 (plain) (blame)
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
# Maintainer: Taner Tas <taner76@gmail.com>
pkgname=fs-uae-launcher
pkgver=2.8.3
pkgrel=1
pkgdesc="FS-UAE emulator launcher."
url="https://fs-uae.net/launcher"
arch="noarch !ppc64le !armhf" # 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

build() {
	return 0
}

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
}
sha512sums="4eaa5979fe2e8f2c792d4878e9a9ad0a0433206aac42aa380d97aee21e4ba29a54caced2437b83357c2c4d2fab121bfb821fdb8a883ead971766866b02067a2d  fs-uae-launcher-2.8.3.tar.gz"