blob: 485ba27833f5c1ebe32e93d74ee8cf45cf98d7b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Maintainer: Kevin MacMartin <prurigro@gmail.com>
# Contributor: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Contributor: William Termini <aur@termini.me>
_pkgname=basiliskii
pkgname=${_pkgname}-git
pkgver=r3423.03e15933
pkgrel=2
pkgdesc='Open Source 68k Macintosh Emulator'
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
url='https://basilisk.cebix.net'
license=(GPL)
depends=('gtk3' 'sdl2' 'vde2')
makedepends=('git')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("git+https://github.com/kanjitalk755/macemu")
sha256sums=('SKIP')
pkgver() {
cd macemu
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd macemu/BasiliskII/src/Unix
NO_CONFIGURE=1 ./autogen.sh
}
build() {
cd macemu/BasiliskII/src/Unix
./configure \
--prefix=/usr \
--enable-sdl-video \
--enable-sdl-audio \
--enable-jit-compiler \
--with-bincue \
--with-vdeplug
sed -i 's| -Werror=format-security||' Makefile # Fix the build by disabling format-security
make -j1
}
package() {
cd macemu/BasiliskII/src/Unix
make DESTDIR="$pkgdir" install
}
|