aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fuse-exfat/APKBUILD
blob: 59ba6e5fa0c64fd4cdbacc2b0703f91b89e6c8b2 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fuse-exfat
pkgver=1.0.1
pkgrel=0
pkgdesc="Free exFAT file system implementation"
url="http://code.google.com/p/exfat/"
arch="all"
license="GPLv2"
depends=""
depends_dev=""
makedepends="$depends_dev fuse-dev scons"
install=""
subpackages=""
source="http://exfat.googlecode.com/files/fuse-exfat-$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"
	scons -j${JOBS:-2} || return 1

}

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

md5sums="7988a5111841593231f20af22153362d  fuse-exfat-1.0.1.tar.gz"
sha256sums="12ac1ba1b7d4343bef64e7898176705a41cfe3b5a7a179e28549d242e2854758  fuse-exfat-1.0.1.tar.gz"
sha512sums="e444031e7a6b999b3014ced255447bdfe4586b16970f36393706433262ca0cbd17911d6ca7af3465871f3136bdd9c8be2ec85f0dd124d670b240829093d341f6  fuse-exfat-1.0.1.tar.gz"