summaryrefslogtreecommitdiff
path: root/extra/ntfs-3g_ntfsprogs/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-28 22:32:07 +0000
committerroot <root@rshg047.dnsready.net>2011-04-28 22:32:07 +0000
commit19f42937be8f6619a85663cb71e24c05b7e8b6d2 (patch)
treee7d059bcc0b5c309ff565da9be68ade7f29ef5fc /extra/ntfs-3g_ntfsprogs/PKGBUILD
parent8784d3134c1d4b4c02d705259ae2ebd768c778fd (diff)
Thu Apr 28 22:32:07 UTC 2011
Diffstat (limited to 'extra/ntfs-3g_ntfsprogs/PKGBUILD')
-rw-r--r--extra/ntfs-3g_ntfsprogs/PKGBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/extra/ntfs-3g_ntfsprogs/PKGBUILD b/extra/ntfs-3g_ntfsprogs/PKGBUILD
new file mode 100644
index 000000000..d9968d181
--- /dev/null
+++ b/extra/ntfs-3g_ntfsprogs/PKGBUILD
@@ -0,0 +1,47 @@
+# $Id: PKGBUILD 120898 2011-04-27 08:00:36Z ronald $
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Thomas Bächler <thomas.archlinux.org>
+
+pkgbase=ntfs-3g_ntfsprogs
+pkgname=('ntfs-3g' 'ntfsprogs')
+pkgver=2011.4.12
+pkgrel=1
+url="http://www.tuxera.com"
+arch=('i686' 'x86_64')
+license=('GPL2')
+depends=('glibc' 'fuse')
+makedepends=('pkgconfig')
+options=('!libtool')
+source=(http://tuxera.com/opensource/${pkgbase}-${pkgver}.tgz
+ 25-ntfs-config-write-policy.fdi)
+sha1sums=('a4340ae611a3f26089f7d5601a86a5847517bff7'
+ '200029f2999a2c284fd30ae25734abf6459c3501')
+
+build() {
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+ ac_cv_path_LDCONFIG=/bin/true ./configure --prefix=/usr \
+ --with-fuse=external --disable-static --disable-gnome-vfs \
+ --mandir=/usr/share/man
+ make
+}
+
+package_ntfs-3g() {
+ pkgdesc="Stable read and write NTFS driver"
+
+ for DIR in src libntfs-3g include; do
+ cd "${srcdir}/${pkgbase}-${pkgver}/${DIR}"
+ make DESTDIR="${pkgdir}" install
+ done
+
+ ln -s /bin/ntfs-3g "${pkgdir}/sbin/mount.ntfs"
+ 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/"
+}
+
+package_ntfsprogs() {
+ pkgdesc="NTFS filesystem utilities"
+ depends=('util-linux' 'ntfs-3g')
+
+ cd "${srcdir}/${pkgbase}-${pkgver}/ntfsprogs"
+ make DESTDIR="${pkgdir}" install
+}