浏览代码

Update 'PKGBUILD'

Nathaniel van Diepen 4 年之前
父节点
当前提交
297ab9b088
共有 1 个文件被更改,包括 6 次插入2 次删除
  1. 6 2
      PKGBUILD

+ 6 - 2
PKGBUILD

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