blob: ec6778e911c7ef32a94976a5bc46cce24daa3aa5 (
plain)
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
43
44
45
46
47
48
49
50
51
52
53
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=exfat-utils
pkgver=1.2.2
pkgrel=0
pkgdesc="Utilities for exFAT file system"
url="https://github.com/relan/exfat"
arch="all"
license="GPL2+"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
source="https://github.com/relan/exfat/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
_builddir="$srcdir"/exfat-utils-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure --prefix=/usr --sbindir=/usr/bin || return 1
make CCFLAGS="${CFLAGS} -std=c99" LINKFLAGS="${LDFLAGS}" \
|| return 1
}
package() {
cd "$_builddir"
make DESTDIR="${pkgdir}" install || return 1
# Install man pages
install -Dm444 dump/dumpexfat.8 "${pkgdir}/usr/share/man/man8/dumpexfat.8" \
|| return 1
install -m444 fsck/exfatfsck.8 "${pkgdir}/usr/share/man/man8" \
|| return 1
install -m444 mkfs/mkexfatfs.8 "${pkgdir}/usr/share/man/man8" \
|| return 1
install -m444 label/exfatlabel.8 "${pkgdir}/usr/share/man/man8" \
|| return 1
}
md5sums="ae918dd8a360f1da2299f3c748c53253 exfat-utils-1.2.2.tar.gz"
sha256sums="60e33b51db5a8f79b035031bc61b120cdac3075dd27fad156ece4feeb82871f7 exfat-utils-1.2.2.tar.gz"
sha512sums="bd3c4d57b05aee7064e05a8af7ff8d7a1bf7b9a891d804c45fb6c5fcc19d877b75a25c32cfee462133f203a1bead3a65c40d5e32061b5dc4943f36c2a961c2b8 exfat-utils-1.2.2.tar.gz"
|