summaryrefslogblamecommitdiff
path: root/user/mactel-boot/APKBUILD
blob: 1eff3f666e27663bf040fa674a47ca44b14ea7de (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                            
                                  


                  
                          

                                                                                   

         










                                                                                                                                                                      
# 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"
options="!check"  # No test suite.
license="GPL-2.0+"
depends=""
makedepends=""
subpackages="$pkgname-doc"
#source="http://www.codon.org.uk/~mjg59/$pkgname/$pkgname-$pkgver.tar.bz2"
source="https://distfiles.adelielinux.org/source/upstream/$pkgname-$pkgver.tar.bz2"

build() {
	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"