diff options
Diffstat (limited to 'user/diskdev_cmds/APKBUILD')
-rw-r--r-- | user/diskdev_cmds/APKBUILD | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/user/diskdev_cmds/APKBUILD b/user/diskdev_cmds/APKBUILD index 1b071453c..f3a60eb61 100644 --- a/user/diskdev_cmds/APKBUILD +++ b/user/diskdev_cmds/APKBUILD @@ -2,29 +2,26 @@ # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=diskdev_cmds pkgver=332.14 -pkgrel=0 +pkgrel=1 pkgdesc="HFS+ utilities ported from OS X 10.8.4 (fsck/mkfs)" url="https://opensource.apple.com/release/mac-os-x-10411ppc.html" arch="all" +options="!check" # No test suite. license="APSL-2.0" depends="" makedepends="bsd-compat-headers openssl-dev" -install="" -options="!check" subpackages="$pkgname-doc" -source="https://opensource.apple.com/tarballs/diskdev_cmds/diskdev_cmds-$pkgver.tar.gz +source="https://opensource.apple.com/tarballs/$pkgname/$pkgname-$pkgver.tar.gz linux.patch musl.patch " -builddir="$srcdir/diskdev_cmds-$pkgver" +builddir="$srcdir/$pkgname-$pkgname-$pkgver" #830 build() { - cd "$builddir" make -f Makefile.lnx } package() { - cd "$builddir" install -D -m755 "$builddir"/fsck_hfs.tproj/fsck_hfs "$pkgdir"/sbin/fsck_hfs install -m755 "$builddir"/newfs_hfs.tproj/newfs_hfs "$pkgdir"/sbin/newfs_hfs ln -s fsck_hfs "$pkgdir"/sbin/fsck.hfs @@ -32,14 +29,19 @@ package() { ln -s newfs_hfs "$pkgdir"/sbin/mkfs.hfs ln -s newfs_hfs "$pkgdir"/sbin/mkfs.hfsplus - install -D -m644 "$builddir"/fsck_hfs.tproj/fsck_hfs.8 "$pkgdir"/usr/share/man/man8/fsck_hfs.8 + install -D -m644 "$builddir"/newfs_hfs.tproj/hfsbootdata.img \ + "$pkgdir"/usr/share/hfsprogs/hfsbootdata + + install -D -m644 "$builddir"/fsck_hfs.tproj/fsck_hfs.8 \ + "$pkgdir"/usr/share/man/man8/fsck_hfs.8 ln -s fsck_hfs.8 "$pkgdir"/usr/share/man/man8/fsck.hfs.8 ln -s fsck_hfs.8 "$pkgdir"/usr/share/man/man8/fsck.hfsplus.8 - install -m644 "$builddir"/newfs_hfs.tproj/newfs_hfs.8 "$pkgdir"/usr/share/man/man8/newfs_hfs.8 + install -m644 "$builddir"/newfs_hfs.tproj/newfs_hfs.8 \ + "$pkgdir"/usr/share/man/man8/newfs_hfs.8 ln -s newfs_hfs.8 "$pkgdir"/usr/share/man/man8/mkfs.hfs.8 ln -s newfs_hfs.8 "$pkgdir"/usr/share/man/man8/mkfs.hfsplus.8 } -sha512sums="e1df91fb5330dc01a79de99dd8b1f389a337a19c2136994d59b7cbca9c2e1cb5f7d47101366dd01db4e23a5d3d7afab41758045bf7402d739fa22182dc922044 diskdev_cmds-332.14.tar.gz +sha512sums="b189bbe9e43ed2354cc134d1cce6bb0f65709e36f64b586f850a73f864cc3c7e36e83cccde093871efba9e095c16a8278d92d13de59dd03ad757b79fb83cda06 diskdev_cmds-332.14.tar.gz bd736c087291024d352d7e3379069f440cf1af6abbcb236499a00c6a756c1b2b3c36e61a13d08e8db7319654b9cb1c04574a4dbda79cedeceb32660708900da9 linux.patch 0b6280e20b0e8d2e453505866af2f1423a4f0172de2e5a6b14feb82df3c659270d9af0320a098e41d405e5cf9111852926e8a4eb5bea1604c262b126917f442f musl.patch" |