summaryrefslogtreecommitdiffstats
path: root/abs/core/ntfs-3g/PKGBUILD
blob: a8ae6e5d66b9a4f9cbad18cc5556113e1f812102 (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
# $Id: PKGBUILD 35598 2009-04-14 08:38:34Z ronald $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Thomas Bächler <thomas.archlinux.org>

pkgname=ntfs-3g
pkgver=2009.4.4
pkgrel=3
pkgdesc="Stable read and write NTFS driver"
url="http://www.ntfs-3g.org/"
arch=('i686' 'x86_64')
license=('GPL2')
install=ntfs-3g.install
depends=('glibc')
makedepends=('pkgconfig')
options=('!libtool')
source=(http://www.ntfs-3g.org/${pkgname}-${pkgver}.tgz
	20-ntfs-config-write-policy.fdi)
md5sums=('e0b5c170f088a8d82968f0a6b34d31da'
         'ece35a9108837e2008e5a47f3390755e')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  # use internal fuse at least until fuse 2.8.0 is relased, it contains
  # some bug & security fixes
  ac_cv_path_LDCONFIG=/bin/true ./configure --prefix=/usr \
	--with-fuse=internal || return 1
  make || return 1
  make DESTDIR=${pkgdir} install || return 1
  install -m755 -d "${pkgdir}/usr/share/hal/fdi/policy/10osvendor"
  install -m644 "${srcdir}/20-ntfs-config-write-policy.fdi" "${pkgdir}/usr/share/hal/fdi/policy/10osvendor/" || return 1
}