# $Id: PKGBUILD 82467 2010-06-11 12:01:11Z ronald $ # Maintainer: Ronald van Haren # Contributor: Thomas Bächler # Plugbox changes: # No building changes, just a newer, RC version. pkgname=ntfs-3g pkgver=2010.7.23 pkgrel=1 pkgdesc="Stable read and write NTFS driver" url="http://www.tuxera.com" arch=('i686' 'x86_64') license=('GPL2') depends=('glibc' 'fuse') makedepends=('pkgconfig') options=('!libtool') source=(http://www.tuxera.com/opensource/${pkgname}-${pkgver}-RC.tgz 25-ntfs-config-write-policy.fdi) sha1sums=('be936807f1fde400b410726150f53b96d87a265a' '200029f2999a2c284fd30ae25734abf6459c3501') build() { cd "${srcdir}/${pkgname}-${pkgver}-RC" ac_cv_path_LDCONFIG=/bin/true ./configure --prefix=/usr \ --with-fuse=external --disable-static || return 1 make || return 1 } package() { cd "${srcdir}/${pkgname}-${pkgver}-RC" make DESTDIR="${pkgdir}" install || return 1 ln -s /bin/ntfs-3g "${pkgdir}/sbin/mount.ntfs" || return 1 install -m755 -d "${pkgdir}/usr/share/hal/fdi/policy/10osvendor" install -m644 "${srcdir}/25-ntfs-config-write-policy.fdi" "${pkgdir}/usr/share/hal/fdi/policy/10osvendor/" || return 1 }