blob: a459530da88b5781f6b8e505af6f34c1bb9958fd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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"
|