aboutsummaryrefslogtreecommitdiffstats
path: root/community/fuse-exfat/APKBUILD
diff options
context:
space:
mode:
authorAndré Klitzing <aklitzing@gmail.com>2017-06-30 19:57:20 +0200
committerWilliam Pitcock <nenolod@dereferenced.org>2017-06-30 21:54:52 +0000
commit2d83943783445539a0bcfb49c1c8ea096d5625f3 (patch)
tree0b5a788b9df21607588b32a028630bedad45e306 /community/fuse-exfat/APKBUILD
parent99e4ea8b9983d1d9976ef925d0ec59aceb589098 (diff)
downloadaports-2d83943783445539a0bcfb49c1c8ea096d5625f3.tar.bz2
aports-2d83943783445539a0bcfb49c1c8ea096d5625f3.tar.xz
community/fuse-exfat: move from testing
Diffstat (limited to 'community/fuse-exfat/APKBUILD')
-rw-r--r--community/fuse-exfat/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/community/fuse-exfat/APKBUILD b/community/fuse-exfat/APKBUILD
new file mode 100644
index 0000000000..25cc549835
--- /dev/null
+++ b/community/fuse-exfat/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Valery Kartel <valery.kartel@gmail.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=fuse-exfat
+_pkgreal=exfat
+pkgver=1.2.6
+pkgrel=0
+pkgdesc="Free exFAT file system implementation"
+url="https://github.com/relan/exfat"
+arch="all"
+license="GPL2+"
+provides="$_pkgreal"
+depends="fuse"
+makedepends="autoconf automake fuse-dev"
+subpackages="$pkgname-doc $pkgname-utils"
+source="$_pkgreal-$pkgver.tar.gz::https://github.com/relan/$_pkgreal/archive/v$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+build() {
+ cd "$builddir"
+ autoreconf --install || return 1
+ ./configure --prefix=/usr || return 1
+ make || return 1
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+utils() {
+ pkgdesc="$pkgdesc (utilities)"
+ provides="$_pkgreal-utils"
+ mkdir -p "$subpkgdir"/usr/sbin
+ local file; for file in $(find "$pkgdir"/usr/sbin ! -name "mount*" -a ! -type d); do
+ mv $file "$subpkgdir"/${file#$pkgdir}
+ done
+}
+
+md5sums="f35e932d0aa9231916f91b9df2e2cf4a exfat-1.2.6.tar.gz"
+sha256sums="1afe3ab4141414c760cfb6e2dca2491b484d07dd0c79879e72b84ad0664038cd exfat-1.2.6.tar.gz"
+sha512sums="76f9ece1ea0d449c48ae71d367021ed7cee05b1619239954b725adbe68c33b76046a8620c64dbebdcc69f2ca32abd242e12f4d592a00cd7fdd2277ff6803fc96 exfat-1.2.6.tar.gz"