Browse Source

Update 'PKGBUILD'

Nathaniel van Diepen 3 years ago
parent
commit
d17c1b4665
1 changed files with 7 additions and 10 deletions
  1. 7 10
      PKGBUILD

+ 7 - 10
PKGBUILD

@@ -9,23 +9,20 @@ pkgrel=1
 url='https://github.com/alberthdev/wxwabbitemu'
 pkgdesc="a TI-8x emulator based on Wabbitemu"
 arch=('any')
-source=("git+https://github.com/alberthdev/wxwabbitemu.git" "$pkgname.patch" "LICENSE")
+source=("git+https://github.com/alberthdev/wxwabbitemu.git" "LICENSE")
+md5sums=('SKIP' 'SKIP')
 depends=('wxgtk')
-makedepends=('git')
+makedepends=('git' 'cmake')
 license=('custom')
 prepare() {
-	cd "$srcdir/$pkgname";
-	git checkout -f;
-    git clean -f;
-	git apply ../$pkgname.patch
+    mkdir -p "$srcdir/build";
 }
 build() {
-	cd "$srcdir/$pkgname/build";
-	make 
+	cd "$srcdir/build";
+    cmake "$srcdir/$pkgname";
 }
 package() {
 	install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 	cd "$srcdir/$pkgname/build";
 	make DESTDIR="${pkgdir}" install
-}
-md5sums=('SKIP' 'SKIP' 'SKIP')
+}