Commit 4407fdc6 authored by tmpfile's avatar tmpfile Committed by Jakub Jirutka

main/ntfs-3g: add symlink to /sbin/mount.ntfs and modernize abuild

parent 5fa7d238
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment