diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 17 |
1 files changed, 7 insertions, 10 deletions
@@ -3,7 +3,7 @@ pkgname=sameboy pkgdesc="An accuracy-focused Game Boy/Game Boy Color emulator" -pkgver=0.14.1 +pkgver=0.14.2 pkgrel=1 arch=(x86_64) url="https://github.com/LIJI32/SameBoy" @@ -12,15 +12,8 @@ depends=(sdl2 hicolor-icon-theme) conflicts=(sameboy-git) # Upstream suggests using clang, but gcc is supported on Linux: https://github.com/LIJI32/SameBoy/issues/164#issuecomment-486464194 makedepends=(rgbds make git) -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/LIJI32/SameBoy/archive/v${pkgver}.tar.gz" - "sameboy-d2ed1343-add-missing-mkdir.patch::https://github.com/LIJI32/SameBoy/commit/d2ed1343e5ef890f3ec9377941af25453cfe46b5.patch") -md5sums=('6b61ba6b6b688a0ae2badee00ed45f70' - 'c71062c0994e1966ca86ab8178f405bd') - -prepare() { - cd "${srcdir}/SameBoy-${pkgver}" - patch -p1 < "${srcdir}/sameboy-d2ed1343-add-missing-mkdir.patch" -} +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/LIJI32/SameBoy/archive/v${pkgver}.tar.gz") +md5sums=('503b33778935748fea7d484fd2bca220') build(){ cd "${srcdir}/SameBoy-${pkgver}" @@ -34,6 +27,10 @@ package(){ install -D "${pkgdir}/usr/share/sameboy/LICENSE" "${pkgdir}/usr/share/licenses/sameboy/LICENSE" rm "${pkgdir}/usr/share/sameboy/LICENSE" + # move data files to the correct location + mkdir -p ${pkgdir}/usr/share/games + mv ${pkgdir}/usr/share/{sameboy,games} + # mimetype icons don't belong here # that could lead to file conflicts find "${pkgdir}" -name 'x-gameboy*-rom.png' -delete |