2016-04-14 08:39:08 +00:00

48 lines
1.3 KiB
Plaintext

# 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"