summaryrefslogblamecommitdiff
path: root/user/minivmac/APKBUILD
blob: 08a38f1fb9d4743c46d635dd1bfe86689d16a055 (plain) (tree)
1
2
3
4
5
6
7





                                                                     
                                         




                                                                      
                                                                         

         
                                

                            






                                                                                 
                                                                                                                                                                    
# 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="https://www.gryphel.com/c/minivmac/"
arch="all !s390x"
options="!check"  # minivmac does not ship a test suite
license="GPL-2.0-only"
depends=""
makedepends="libx11-dev libxcb-dev libxau-dev libbsd-dev libxdmcp-dev"
source="https://distfiles.adelielinux.org/source/$pkgname-$pkgver.tar.xz"

build() {
	CARCH=$CARCH ./configure
	make -C mnvmplus -j1
	make -C mnvmII -j1
}

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

sha512sums="ff28266641dd37df74c84c16c8bf32282729d55ae6512d4a98abf92ba40692f9fc107b501f072755ba0f8a0322d4f755915d9be74a407ce89af94bfd24d11043  minivmac-3.5.8.tar.xz"