1 # Maintainer: Gaetan Bisson <bisson@archlinux.org>
2 # Contributor: Tom Gundersen <teg@jklm.no>
3 # Contributor: Ronald van Haren <ronald.archlinux.org>
4 # Contributor: Thomas Bächler <thomas.archlinux.org>
7 _pkgname=ntfs-3g_ntfsprogs
10 pkgdesc='NTFS filesystem driver and utilities'
11 url='https://www.tuxera.com/community/open-source-ntfs-3g/'
14 depends=('util-linux' 'fuse2')
15 source=("https://tuxera.com/opensource/${_pkgname}-${pkgver}.tgz")
16 sha256sums=('f20e36ee68074b845e3629e6bced4706ad053804cbaf062fbae60738f854170c')
18 conflicts=('ntfsprogs')
19 provides=('ntfsprogs')
20 replaces=('ntfsprogs')
23 cd ${_pkgname}-${pkgver}
24 sed 's|$(DESTDIR)/sbin|$(DESTDIR)/usr/bin|' -i {ntfsprogs,src}/Makefile.in
28 cd ${_pkgname}-${pkgver}
32 --mandir=/usr/share/man \
35 --with-fuse=external \
36 --enable-xattr-mappings \
45 cd ${_pkgname}-${pkgver}
46 make DESTDIR="${pkgdir}" rootbindir=/usr/bin rootsbindir=/usr/bin rootlibdir=/usr/lib install
47 rm "${pkgdir}"/usr/share/man/man8/ntfsfallocate.8 # uninstalled binary
48 ln -s /usr/bin/ntfs-3g "${pkgdir}/usr/bin/mount.ntfs"