1 # Maintainer: Gula <gulanito.archlinux.org>
3 pkgname=ntfs-3g-fuse-internal
6 pkgdesc="Stable read and write NTFS driver (whit internal fuse suport)"
7 url="http://www.tuxera.com"
11 optdepends=('Please, write'
12 'chown root $(which ntfs-3g)'
13 'chmod 4755 $(which ntfs-3g)'
16 makedepends=('pkgconfig')
18 source=(http://www.tuxera.com/opensource/ntfs-3g-${pkgver}.tgz
19 25-ntfs-config-write-policy.fdi)
20 sha1sums=('895da556ad974743841f743c49b734132b2a7cbc'
21 '200029f2999a2c284fd30ae25734abf6459c3501')
24 cd "${srcdir}/ntfs-3g-${pkgver}"
25 ac_cv_path_LDCONFIG=/bin/true ./configure --prefix=/usr \
26 --with-fuse=internal --disable-static || return 1
31 cd "${srcdir}/ntfs-3g-${pkgver}"
32 make DESTDIR="${pkgdir}" install || return 1
33 ln -s /bin/ntfs-3g "${pkgdir}/sbin/mount.ntfs" || return 1
34 install -m755 -d "${pkgdir}/usr/share/hal/fdi/policy/10osvendor"
35 install -m644 "${srcdir}/25-ntfs-config-write-policy.fdi" "${pkgdir}/usr/share/hal/fdi/policy/10osvendor/" || return 1