Skip to content

Instantly share code, notes, and snippets.

Created August 30, 2017 16:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/53d5b57c7e19432e3080ddcd79fe44cf to your computer and use it in GitHub Desktop.
Save anonymous/53d5b57c7e19432e3080ddcd79fe44cf to your computer and use it in GitHub Desktop.
diff --git a/PKGBUILD b/PKGBUILD
index 15bf82f..9b5dd67 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,8 +13,8 @@ license=('GPL')
# of this writing) split from master, and we use this to get the rev number.
_last_rtm_ver=0.9.11
_last_rtm_commit=ccbf85ed42e4350af415d56b1465e83614c85ef8
-pkgver="${_last_rtm_ver}.r583.07a68db"
-pkgrel=2
+pkgver=0.9.11.r800.e29e825d
+pkgrel=1
depends=('gtkglext'
'libglade'
@@ -35,8 +35,14 @@ replaces=('desmume-sourceforge'
'desmume-jit-svn')
conflicts=("${provides[@]}" "${replaces[@]}")
-source=('git+https://github.com/TASVideos/desmume.git')
-sha512sums=('SKIP')
+source=(
+ 'git+https://github.com/TASVideos/desmume.git'
+ 'https://patch-diff.githubusercontent.com/raw/TASVideos/desmume/pull/94.patch'
+)
+sha512sums=(
+ 'SKIP'
+ 'cd0f593c52552575a4637d6f386817cfd84a721af9574475348a89d6ef09e4d2451833c26c877fb6500b8c417cc60dbec6d5e73d222994ab988b1e79be4c93e7'
+)
_builddir="${_pkgname}/src/frontend/posix"
@@ -50,7 +56,11 @@ pkgver() {
}
prepare(){
- cd "${srcdir}/${_pkgname}/${_builddir}"
+ cd "${srcdir}/${_pkgname}"
+
+ git apply "${srcdir}/94.patch"
+
+ cd "${_builddir}"
# lua5.1 package is named lua51 on Arch
# we could probably just make it compile against the current lua
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment