summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFabioLolix2021-05-09 12:10:52 +0200
committerFabioLolix2021-05-09 12:10:52 +0200
commit7bf69a0ea19f89c74e14121f808d8ea8f066800a (patch)
treeb3ed5af58aeb9ab2791597edcbce77c1c27a520f /PKGBUILD
downloadaur-basiliskii-kanjitalk755-git.tar.gz
upload
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6eb9cc3893a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
+
+pkgname=basiliskii-kanjitalk755-git
+pkgver=r3205.8a28ad6e
+pkgrel=1
+pkgdesc="Open Source 68k Macintosh Emulator"
+arch=(x86_64 i686 pentium4 arm armv6h armv7h aarch64)
+url="https://github.com/kanjitalk755/macemu"
+license=(GPL)
+depends=(gtk2 sdl vde2)
+makedepends=(git)
+provides=(basiliskii)
+conflicts=(basiliskii)
+source=("kanjitalk755-macemu::git+https://github.com/kanjitalk755/macemu")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd kanjitalk755-macemu
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ cd kanjitalk755-macemu
+
+ cd BasiliskII/src/Unix
+ NO_CONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd kanjitalk755-macemu/BasiliskII/src/Unix
+ ./configure \
+ --prefix=/usr \
+ --enable-sdl-video \
+ --enable-sdl-audio \
+ --enable-jit-compiler \
+ --with-bincue \
+ --with-vdeplug
+
+ make -j1
+}
+
+package() {
+ cd kanjitalk755-macemu/BasiliskII/src/Unix
+ make DESTDIR="${pkgdir}" install
+}