aboutsummaryrefslogtreecommitdiffstats
path: root/main/ntfs-3g
diff options
context:
space:
mode:
Diffstat (limited to 'main/ntfs-3g')
-rw-r--r--main/ntfs-3g/APKBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/main/ntfs-3g/APKBUILD b/main/ntfs-3g/APKBUILD
index 9f77bfb789..9f63527fe1 100644
--- a/main/ntfs-3g/APKBUILD
+++ b/main/ntfs-3g/APKBUILD
@@ -4,12 +4,11 @@
pkgname=ntfs-3g
_pkgreal=ntfs-3g_ntfsprogs
pkgver=2017.3.23
-pkgrel=0
+pkgrel=1
pkgdesc="Stable, full-featured, read-write NTFS"
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 $pkgname-libs $pkgname-progs"
source="http://tuxera.com/opensource/$_pkgreal-$pkgver.tgz"
@@ -23,20 +22,22 @@ build() {
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info \
- || return 1
- make || return 1
+ --infodir=/usr/share/info
+ make
}
package() {
pkgdesc="$pkgdesc (driver)"
+
cd "$builddir"
mkdir -p "$pkgdir"/lib
- make -j1 DESTDIR="$pkgdir" LDCONFIG=: install || return 1
+ make -j1 DESTDIR="$pkgdir" LDCONFIG=: install
+ ln -s /bin/ntfs-3g "$pkgdir"/sbin/mount.ntfs
}
progs() {
pkgdesc="$pkgdesc (utilities)"
+
mkdir -p "$subpkgdir"/sbin
mv "$pkgdir"/usr "$pkgdir"/lib "$subpkgdir"/
mv "$pkgdir"/sbin/mkfs.ntfs "$subpkgdir"/sbin