blob: b4bf37654b56bef791ede82aca1474960cc80780 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fuse-exfat
pkgver=1.2.3
pkgrel=0
pkgdesc="Free exFAT file system implementation"
url="https://github.com/relan/exfat"
arch="all"
license="GPL2+"
depends="fuse"
depends_dev=""
makedepends="$depends_dev fuse-dev"
install=""
subpackages="$pkgname-doc"
source="https://github.com/relan/exfat/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
_builddir="$srcdir"/fuse-exfat-$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}"
}
package() {
cd "$_builddir"
make DESTDIR="${pkgdir}" install || return 1
# Install man page
install -Dm444 fuse/mount.exfat-fuse.8 \
"${pkgdir}/usr/share/man/man8/mount.exfat-fuse.8" \
|| return 1
}
md5sums="fca71e6598f79d037a3c7c969cb5710c fuse-exfat-1.2.3.tar.gz"
sha256sums="f2e06eba5a21c621aac1d6da21b12a5a324fdd1e20f9c8acd357dd463c2355d9 fuse-exfat-1.2.3.tar.gz"
sha512sums="960f24325af3604a6c3643462e53c989e0b06cafd8cfc1ac8872a37fe149d106d0155fe578f2d8f15f330c51f1bc653d296f01b1adf7aa7028a9d8a73215f692 fuse-exfat-1.2.3.tar.gz"
|