summaryrefslogblamecommitdiff
path: root/user/mactel-boot/APKBUILD
blob: 908593333660636244f3f1ae1ce47d5382b72a2e (plain) (tree)




























                                                                                                                                                                      
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=mactel-boot
pkgver=0.9
pkgrel=0
pkgdesc="Provides hfs-bless utility to boot Apple computers"
url="http://www.codon.org.uk/~mjg59/mactel-boot/"
arch="all"
license="GPL-2.0+"
depends=""
makedepends=""
install=""
subpackages="$pkgname-doc"
options="!check"
source="http://www.codon.org.uk/~mjg59/mactel-boot/mactel-boot-$pkgver.tar.bz2"

build() {
	cd "$builddir"
	make hfs-bless
}

package() {
	mkdir -p "$pkgdir"/usr/sbin
	install -m 755 "$builddir"/hfs-bless "$pkgdir"/usr/sbin/
	mkdir -p "$pkgdir"/usr/share/man/man1
	install -m 644 "$builddir"/bless.1 "$pkgdir"/usr/share/man/man1/hfs-bless.1
}

sha512sums="e120762ea237d6020f6f4cafc540f5cf6dda2d900997a6373f29163c82453d6936ef6005a8a9f5199b43dd55ae317ddc17a109ce80ff8a42eec2df661556881d  mactel-boot-0.9.tar.bz2"