# Contributor: Síle Ekaterin Liszka # Maintainer: Síle Ekaterin Liszka 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"