summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-07 00:01:27 +0000
committerroot <root@rshg054.dnsready.net>2012-05-07 00:01:27 +0000
commit9d0c8979390868a2913fc8830a9f62a45174746b (patch)
tree33eda0748e0df77a2c70b81836fb1097b44c00c9 /testing
parentf37e773fe397778858ea8d51601554863c252536 (diff)
Mon May 7 00:01:27 UTC 2012
Diffstat (limited to 'testing')
-rw-r--r--testing/ntfs-3g_ntfsprogs/PKGBUILD54
1 files changed, 54 insertions, 0 deletions
diff --git a/testing/ntfs-3g_ntfsprogs/PKGBUILD b/testing/ntfs-3g_ntfsprogs/PKGBUILD
new file mode 100644
index 000000000..d1084ddee
--- /dev/null
+++ b/testing/ntfs-3g_ntfsprogs/PKGBUILD
@@ -0,0 +1,54 @@
+# $Id: PKGBUILD 158659 2012-05-05 16:20:23Z tomegun $
+# Maintainer: Tom Gundersen <teg@jklm.no>
+# Contributor: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Thomas Bächler <thomas.archlinux.org>
+
+pkgbase=ntfs-3g_ntfsprogs
+pkgname=('ntfs-3g' 'ntfsprogs')
+pkgver=2012.1.15
+pkgrel=3
+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)
+sha1sums=('8d55cf49afde172fefa369a0a85289e09c4d7bbb')
+
+build() {
+ cd "$srcdir/$pkgbase-$pkgver"
+ ac_cv_path_LDCONFIG=/bin/true ./configure --prefix=/usr \
+ --with-fuse=external --disable-static \
+ --enable-posix-acls --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
+
+ mv "$pkgdir"/lib/* "$pkgdir"/usr/lib/
+ mv "$pkgdir"/bin/* "$pkgdir"/usr/bin/
+ rm -rf "$pkgdir"/{lib,{s,}bin}
+
+ cd "$pkgdir"/usr/bin
+ ln -s ntfs-3g mount.ntfs
+ ln -s ntfs-3g mount.ntfs-3g
+ ln -s lowntfs-3g mount.lowntfs-3g
+}
+
+package_ntfsprogs() {
+ pkgdesc="NTFS filesystem utilities"
+ depends=('util-linux' 'ntfs-3g')
+
+ cd "$srcdir/$pkgbase-$pkgver/ntfsprogs"
+ make DESTDIR="$pkgdir" install
+
+ mv "$pkgdir"/sbin/* "$pkgdir"/usr/bin/
+ rm -rf "$pkgdir"/sbin
+}