summaryrefslogtreecommitdiffstats
path: root/testing/fuse-exfat/APKBUILD
blob: 02eb5182896d3697f8ba77fbfab35b7fb2d8b370 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fuse-exfat
pkgver=1.1.0
pkgrel=0
pkgdesc="Free exFAT file system implementation"
url="http://code.google.com/p/exfat/"
arch="all"
license="GPL2+"
depends=""
depends_dev=""
makedepends="$depends_dev fuse-dev scons"
install=""
subpackages=""
source="http://pkgbuild.com/~giovanni/exfat/${pkgname}-${pkgver}.tar.gz
	musl-not-found.patch"

_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"
	scons -j${JOBS:-2} || return 1

}

package() {
	cd "$_builddir"
	install -d "$pkgdir"/sbin
	scons DESTDIR="$pkgdir"/sbin install || return 1
}

md5sums="b2a23c032661cb1c1da4514e7af33916  fuse-exfat-1.1.0.tar.gz
627d23007699396bb85e0da9efbcc8bd  musl-not-found.patch"
sha256sums="198c520e417e955dc5c08687c278e63eefa56719da4452aa4a605be0327f953e  fuse-exfat-1.1.0.tar.gz
e456763cc9d05b87efd331ca8480f28c6aac38d1a89fab37bb9a0313b89254ae  musl-not-found.patch"
sha512sums="60280687c9adea3955fd85f003482e9d40163924837e5dcac4205c2bd02318c8ea280103a509213e83a04d390507f15dfe3cd3ecc03e9b90abcf4cef7e830398  fuse-exfat-1.1.0.tar.gz
55a662908230516e30085da361ed6f4d2f2f8eac60e99b8399fa5bb343eeeae28d84ec363b8be603f08063d6a4b7e4e3503ebf37cfa958e8d6dcba84eedbe7b6  musl-not-found.patch"