Browse Source

Update 'PKGBUILD'

Nathaniel van Diepen 4 years ago
parent
commit
297ab9b088
1 changed files with 6 additions and 2 deletions
  1. 6 2
      PKGBUILD

+ 6 - 2
PKGBUILD

@@ -8,9 +8,13 @@ pkgver() {
 pkgrel=1
 pkgdesc="a TI-8x emulator based on Wabbitemu"
 arch=('any')
-source=("git+https://github.com/alberthdev/wxwabbitemu.git")
+source=("git+https://github.com/alberthdev/wxwabbitemu.git","$pkgname.patch")
 depends=('wxgtk')
 license=('custom')
+prepare() {
+	cd "$srcdir/$pkgname";
+	git apply ../$pkgname.patch
+}
 build() {
 	cd "$srcdir/$pkgname/build";
 	make 
@@ -20,4 +24,4 @@ package() {
 	cd "$srcdir/$pkgname/build";
 	make DESTDIR="${pkgdir}" install
 }
-md5sums=('SKIP')
+md5sums=('SKIP', 'SKIP')