updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / ntfs-3g-fuse-internal / PKGBUILD
blobef28a16616fdce89813fd53ea19300ae9b118c90
1 # Maintainer: Gula  <gulanito.archlinux.org>
3 pkgname=ntfs-3g-fuse-internal
4 pkgver=2010.5.16
5 pkgrel=1
6 pkgdesc="Stable read and write NTFS driver (whit internal fuse suport)"
7 url="http://www.tuxera.com"
8 arch=('i686' 'x86_64')
9 license=('GPL2')
10 depends=('glibc')
11 optdepends=('Please, write'
12 'chown root $(which ntfs-3g)'
13 'chmod 4755 $(which ntfs-3g)'
14 'for user usage')
15 conflicts=('ntfs-3g')
16 makedepends=('pkgconfig')
17 options=('!libtool')
18 source=(http://www.tuxera.com/opensource/ntfs-3g-${pkgver}.tgz
19         25-ntfs-config-write-policy.fdi)
20 sha1sums=('895da556ad974743841f743c49b734132b2a7cbc'
21           '200029f2999a2c284fd30ae25734abf6459c3501')
23 build() {
24   cd "${srcdir}/ntfs-3g-${pkgver}"
25   ac_cv_path_LDCONFIG=/bin/true ./configure --prefix=/usr \
26     --with-fuse=internal --disable-static || return 1
27   make || return 1
30 package() {
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