|
@@ -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')
|
|
|
+}
|