summaryrefslogtreecommitdiff
path: root/user/diskdev_cmds/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-12 08:14:32 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-12 08:14:32 +0000
commit3bc968c5fbd065aa8f2675a12e89491f0a98209d (patch)
tree7c4393ff3d8a3ee8f75bbe0c3d3a4fe50670cdee /user/diskdev_cmds/APKBUILD
parent64a871d250da15a19d13f1d4be6088d3c87d9b48 (diff)
downloadpackages-3bc968c5fbd065aa8f2675a12e89491f0a98209d.tar.gz
packages-3bc968c5fbd065aa8f2675a12e89491f0a98209d.tar.bz2
packages-3bc968c5fbd065aa8f2675a12e89491f0a98209d.tar.xz
packages-3bc968c5fbd065aa8f2675a12e89491f0a98209d.zip
user/*: Modernise / fix syntax / metadata
Diffstat (limited to 'user/diskdev_cmds/APKBUILD')
-rw-r--r--user/diskdev_cmds/APKBUILD5
1 files changed, 1 insertions, 4 deletions
diff --git a/user/diskdev_cmds/APKBUILD b/user/diskdev_cmds/APKBUILD
index 1b071453c..59e8f58ab 100644
--- a/user/diskdev_cmds/APKBUILD
+++ b/user/diskdev_cmds/APKBUILD
@@ -6,11 +6,10 @@ pkgrel=0
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
linux.patch
@@ -19,12 +18,10 @@ source="https://opensource.apple.com/tarballs/diskdev_cmds/diskdev_cmds-$pkgver.
builddir="$srcdir/diskdev_cmds-$pkgver"
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