Mail archive
alpine-aports

[alpine-aports] [PATCH] main/ntfs-3g: upgrade to 2016.2.22, split to subpackages (libs, progs)

From: Valery Kartel <valery.kartel_at_gmail.com>
Date: Tue, 22 Mar 2016 15:04:23 +0200

---
 main/ntfs-3g/APKBUILD | 27 ++++++++++++++++++---------
 1 file changed, 18 insertions(+), 9 deletions(-)
diff --git a/main/ntfs-3g/APKBUILD b/main/ntfs-3g/APKBUILD
index 51ce04e..74531be 100644
--- a/main/ntfs-3g/APKBUILD
+++ b/main/ntfs-3g/APKBUILD
_at_@ -1,21 +1,22 @@
+# Contributor: Valery Kartel <valery.kartel_at_gmail.com>
 # Contributor: Carlo Landmeter <clandmeter_at_gmail.com>
 # Maintainer: Natanael Copa <ncopa_at_alpinelinux.org>
 pkgname=ntfs-3g
-pkgver=2015.3.14
+_pkgreal=ntfs-3g_ntfsprogs
+pkgver=2016.2.22
 pkgrel=0
-pkgdesc="A userspace ntfs driver with write support"
+pkgdesc="Stable, full-featured, read-write NTFS driver"
 url="http://www.tuxera.com/community/ntfs-3g-download/"
 arch="all"
 license="GPL"
 depends=
 makedepends="attr-dev util-linux-dev linux-headers"
-subpackages="$pkgname-doc $pkgname-dev"
-source="http://tuxera.com/opensource/ntfs-3g_ntfsprogs-$pkgver.tgz
+subpackages="$pkgname-doc $pkgname-dev $pkgname-libs $pkgname-progs"
+source="http://tuxera.com/opensource/$_pkgreal-$pkgver.tgz
 	musl-fixes.patch
 	"
 
-_builddir="$srcdir"/ntfs-3g_ntfsprogs-$pkgver
-
+_builddir="$srcdir"/$_pkgreal-$pkgver
 prepare() {
 	cd "$_builddir"
 	for i in $source; do
_at_@ -44,9 +45,17 @@ package() {
 	make -j1 DESTDIR="$pkgdir" LDCONFIG=: install || return 1
 }
 
-md5sums="8cd57768310e3b2be39b3191d808e241  ntfs-3g_ntfsprogs-2015.3.14.tgz
+progs() {
+	pkgdesc="Stable, full-featured, read-write NTFS userspace utilities"
+	mkdir -p "$subpkgdir"/sbin
+	mv "$pkgdir"/usr "$pkgdir"/lib "$subpkgdir"/
+	mv "$pkgdir"/sbin/mkfs.ntfs "$subpkgdir"/sbin
+	rm -fr "$subpkgdir"/lib "$subpkgdir"/usr/lib
+}
+
+md5sums="ccbe8672d0f757bd0c975b50aa4c512e  ntfs-3g_ntfsprogs-2016.2.22.tgz
 cdfca9f0d20ef96ec60e072ffe4fd061  musl-fixes.patch"
-sha256sums="97f996015d8316d4a272bd2629978e5e97072dd3cc148ce39802f8037c6538f2  ntfs-3g_ntfsprogs-2015.3.14.tgz
+sha256sums="d7b72c05e4b3493e6095be789a760c9f5f2b141812d5b885f3190c98802f1ea0  ntfs-3g_ntfsprogs-2016.2.22.tgz
 f60f15b5650ada189d880ffea0e199869b3d5e855913d353cab8b0b7ebc47ae4  musl-fixes.patch"
-sha512sums="9744dee814e89a97050bc8beb76f1a7d8a585e7d7740e8041e393c6912c93e49803f9b41af84e8315b3162e58b19ca8d155d435395cb07ecaa7de9caaf2af441  ntfs-3g_ntfsprogs-2015.3.14.tgz
+sha512sums="dbd36fadd2881db1d17fdbf5d2b4e50bbe11dc9dd0ad4917e7f8bc4032c2287346143756ce8754df0d46ce9209f2c0c41b626cad929d76a9bc881712c7101c15  ntfs-3g_ntfsprogs-2016.2.22.tgz
 5b4680956f11c75ee3122923f36b840e2a0a38e6cebecbe7be4a02f4423746f8b7d7a89b16d7a9bea62e64534d20e87503beb582273af38d458b946387e85a02  musl-fixes.patch"
-- 
2.7.4
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue Mar 22 2016 - 15:04:23 GMT