blob: ae80eb3c068afe5208a0fbdcf0851ac5cdec6419 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# $Id: PKGBUILD 206643 2014-03-04 02:29:33Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Tom Gundersen <teg@jklm.no>
# Contributor: Ronald van Haren <ronald.archlinux.org>
# Contributor: Thomas Bächler <thomas.archlinux.org>
pkgname=ntfs-3g
_pkgname=ntfs-3g_ntfsprogs
pkgver=2014.2.15
pkgrel=1
pkgdesc='NTFS filesystem driver and utilities'
url='http://www.tuxera.com/community/ntfs-3g-download/'
arch=('i686' 'x86_64')
license=('GPL2')
depends=('util-linux' 'fuse')
source=("http://tuxera.com/opensource/${_pkgname}-${pkgver}.tgz")
sha1sums=('c9836f340b508f5d7776156e5afb02434d3f0174')
conflicts=('ntfsprogs')
provides=('ntfsprogs')
replaces=('ntfsprogs')
prepare() {
cd "${srcdir}/${_pkgname}-${pkgver}"
sed 's|$(DESTDIR)/sbin|$(DESTDIR)/usr/bin|' -i {ntfsprogs,src}/Makefile.in
}
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
./configure \
--prefix=/usr \
--sbin=/usr/bin \
--mandir=/usr/share/man \
--disable-ldconfig \
--disable-static \
--with-fuse=external \
--enable-posix-acls \
--enable-extras \
make
}
package_ntfs-3g() {
cd "${srcdir}/${_pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" rootbindir=/usr/bin rootsbindir=/usr/bin rootlibdir=/usr/lib install
ln -s /usr/bin/ntfs-3g "${pkgdir}/usr/bin/mount.ntfs"
}
|