summaryrefslogblamecommitdiff
path: root/user/minivmac/APKBUILD
blob: 7deb5ef39aaadbeaca8e0d8dceb9129f46889500 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11




                                                      
                                                                     
                                        



                                                                      





                                                                 
                               
                
                             



                

                                                                                 

 
                                                                                                                                                                   
# Contributor: Horst Burkhardt <horst@adelielinux.org>
# Maintainer: Horst Burkhardt <horst@adelielinux.org>
pkgname=minivmac
pkgver=3.5.8
pkgrel=0
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="b01f41d80f950b8073744c1ea9885d5db689bced1d345a6880e86cb5a5acf79e5cbb19ea94601fdef421b91a7736125ed1fb5d90133b5353a3c203933f314f40 minivmac-3.5.8.tar.xz"