summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSheila Aman <sheila@vulpine.house>2021-12-29 11:42:04 -0800
committerZach van Rijn <me@zv.io>2022-11-02 15:56:32 -0500
commit30ab12474508c61dcdde7e5671287a01bd9bac1b (patch)
treeec0fb9774cd303ec7357e877221a9784f9cabb9e
parentf501eba1775d96f4438e2086e4b66966f2ec06a8 (diff)
downloadpackages-new/hfsutils.tar.gz
packages-new/hfsutils.tar.bz2
packages-new/hfsutils.tar.xz
packages-new/hfsutils.zip
system/hfsutils: new packagenew/hfsutils
-rw-r--r--system/hfsutils/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/system/hfsutils/APKBUILD b/system/hfsutils/APKBUILD
new file mode 100644
index 000000000..a92b6c3f2
--- /dev/null
+++ b/system/hfsutils/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Síle Ekaterin Liszka <sheila@adelielinux.org>
+# Maintainer: Síle Ekaterin Liszka <sheila@adelielinux.org>
+pkgname=hfsutils
+pkgver=3.2.6
+pkgrel=0
+pkgdesc="Utilities for working with HFS(+) filesystems"
+url="https://www.mars.org/home/rob/proj/hfs/"
+arch="all"
+license="GPL-2.0+"
+depends=""
+makedepends=""
+subpackages="$pkgname-doc"
+source="ftp://ftp.mars.org/pub/hfs/hfsutils-$pkgver.tar.gz"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ for i in hattrib hcd hcopy hdel hdir hformat hfsutil hls hmkdir hmount hpwd hrename hrmdir humount hvol; do
+ install -Dm755 "$i" "$pkgdir/usr/bin/$i"
+ done
+ for i in doc/man/*.1; do
+ install -Dm644 "$i" "$pkgdir/usr/share/man/1/$i"
+ done
+}
+
+sha512sums="0db3050e5969c4e4e6c6ddb10cbc221a5837eb1e12f9331e7129511d31a4ec8d38420ed0b948dadc85ed990f3b1085e930eb7f0c37b3883866d963e47cbbb173 hfsutils-3.2.6.tar.gz"