summaryrefslogtreecommitdiffstats
path: root/abs/extra/ntfs-3g_ntfsprogs/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2013-07-17 16:07:08 (GMT)
committerJames Meyer <james.meyer@operamail.com>2013-07-17 16:07:08 (GMT)
commit882870048573238516441e3cd6999fbfb0875462 (patch)
treebb2f41decd383071429e89c57241f793d4a8458d /abs/extra/ntfs-3g_ntfsprogs/PKGBUILD
parent74c3042ba53de6dc3f75988de1add0a9a4df894c (diff)
downloadlinhes_pkgbuild-882870048573238516441e3cd6999fbfb0875462.zip
linhes_pkgbuild-882870048573238516441e3cd6999fbfb0875462.tar.gz
linhes_pkgbuild-882870048573238516441e3cd6999fbfb0875462.tar.bz2
ntfs-3g_ntfsprogs: add ntfs-3gprogs to repo. This is needed for people that have external windows drives and want to access data
Diffstat (limited to 'abs/extra/ntfs-3g_ntfsprogs/PKGBUILD')
-rw-r--r--abs/extra/ntfs-3g_ntfsprogs/PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/abs/extra/ntfs-3g_ntfsprogs/PKGBUILD b/abs/extra/ntfs-3g_ntfsprogs/PKGBUILD
new file mode 100644
index 0000000..116ab72
--- /dev/null
+++ b/abs/extra/ntfs-3g_ntfsprogs/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 185299 2013-05-13 04:23:22Z eric $
+# 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
+pkgver=2013.1.13
+pkgrel=3
+pkgdesc="NTFS filesystem utilities"
+arch=('i686' 'x86_64')
+url="http://www.tuxera.com/community/ntfs-3g-download/"
+license=('GPL2')
+depends=('util-linux' 'fuse')
+conflicts=('ntfsprogs')
+provides=('ntfsprogs')
+replaces=('ntfsprogs')
+options=('!libtool')
+source=(http://tuxera.com/opensource/$pkgbase-$pkgver.tgz)
+sha1sums=('8c12b7644d90ae9fb8d0aca0d7ebd5f8fac2c818')
+
+prepare() {
+ cd $pkgbase-$pkgver
+ sed -i 's|$(DESTDIR)/sbin|$(DESTDIR)/usr/bin|' {ntfsprogs,src}/Makefile.in
+}
+
+build() {
+ cd $pkgbase-$pkgver
+ ./configure --prefix=/usr \
+ --with-fuse=external --disable-static \
+ --enable-posix-acls --disable-ldconfig \
+ --mandir=/usr/share/man --sbin=/usr/bin
+ make
+}
+
+package_ntfs-3g() {
+ cd $pkgbase-$pkgver
+ make DESTDIR="$pkgdir" rootbindir=/usr/bin rootsbindir=/usr/bin rootlibdir=/usr/lib install
+ ln -s /usr/bin/ntfs-3g "$pkgdir/usr/bin/mount.ntfs"
+}