diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/hfsutils/APKBUILD | 42 | ||||
-rw-r--r-- | user/hfsutils/fix-missing-header.patch | 11 |
2 files changed, 53 insertions, 0 deletions
diff --git a/user/hfsutils/APKBUILD b/user/hfsutils/APKBUILD new file mode 100644 index 000000000..a459530da --- /dev/null +++ b/user/hfsutils/APKBUILD @@ -0,0 +1,42 @@ +# 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/${pkgname}-${pkgver}.tar.gz + fix-missing-header.patch + " + +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 + find doc/man -name '*.1' | while read i; do + install -Dm644 "$i" "$pkgdir/usr/share/man/1/$i" + done +} + +sha512sums="0db3050e5969c4e4e6c6ddb10cbc221a5837eb1e12f9331e7129511d31a4ec8d38420ed0b948dadc85ed990f3b1085e930eb7f0c37b3883866d963e47cbbb173 hfsutils-3.2.6.tar.gz +44e8304d469104c8400f88d392a4e7ffec82c41919a08514233dbe7c6509077a76920738deabd6bc2622c5c8b200a29d5ca4b4bc109dee01a63cb405674c8502 fix-missing-header.patch" diff --git a/user/hfsutils/fix-missing-header.patch b/user/hfsutils/fix-missing-header.patch new file mode 100644 index 000000000..eb71bd351 --- /dev/null +++ b/user/hfsutils/fix-missing-header.patch @@ -0,0 +1,11 @@ +diff -ur a/hpwd.c b/hpwd.c +--- a/hpwd.c 2024-12-08 04:40:31.343764325 +0000 ++++ b/hpwd.c 2024-12-08 04:40:45.768172918 +0000 +@@ -24,6 +24,7 @@ + # endif + + # include <stdio.h> ++# include <string.h> + + # include "hfs.h" + # include "hcwd.h" |