summaryrefslogtreecommitdiff
path: root/user/minivmac/APKBUILD
blob: 556e2a47c16acf5661fba99f179d64c0504159c9 (plain) (blame)
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
# Contributor: Horst Burkhardt <horst@adelielinux.org>
# Maintainer: Horst Burkhardt <horst@adelielinux.org>
pkgname=minivmac
pkgver=3.5.8
pkgrel=1
pkgdesc="a simple and accurate emulator of early Macintosh computers"
url="http://www.gryphel.com/c/minivmac/"
arch="all !s390x"
license="GPL-2.0-only"
depends=""
makedepends="libx11-dev libxcb-dev libxau-dev libbsd-dev libxdmcp-dev"
source="http://oddball.tech/code/emu_pkg/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure
	cd "$builddir"/mnvmplus
	make -j1
	cd "$builddir"/mnvmII
	make -j1
}

package() {
	install -D -m755 "$builddir"/mnvmplus/minivmac "$pkgdir"/usr/bin/minivmac
	install -m755 "$builddir"/mnvmII/minivmac "$pkgdir"/usr/bin/minivmacII
}

sha512sums="7a2e8fd95c0117447f5f9181f691de3fb8171c31757545d934383a2c960a4c56ef2ecc47b2ec5254d0bbc2dad0c1ab47254c2b52fd0ec23f2c25c8e1f6424f35 minivmac-3.5.8.tar.xz"