diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 9 insertions, 6 deletions
@@ -1,12 +1,11 @@ pkgbase = sameboy-git pkgdesc = An accuracy-focused Game Boy/Game Boy Color emulator - pkgver = 819.969fb5a + pkgver = 903.9e44306 pkgrel = 1 url = https://github.com/LIJI32/SameBoy arch = x86_64 license = MIT - makedepends = clang - makedepends = rgbds-git + makedepends = rgbds makedepends = make makedepends = git depends = sdl2 @@ -2,17 +2,21 @@ pkgname=sameboy-git pkgdesc="An accuracy-focused Game Boy/Game Boy Color emulator" -pkgver=819.969fb5a +pkgver=903.9e44306 pkgrel=1 arch=(x86_64) url="https://github.com/LIJI32/SameBoy" license=(MIT) depends=(sdl2) -# Upstream requires clang, so using gcc might break -makedepends=(clang rgbds-git make 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=(git+ssh://git@github.com/LIJI32/SameBoy.git) sha1sums=(SKIP) +prepare(){ + sed -i 's/-Werror //' SameBoy/Makefile +} + pkgver(){ cd SameBoy echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) |