From 49c0b145ebcda9756ef33e26be3945edae77ee14 Mon Sep 17 00:00:00 2001
From: Juan RP <xtraeme@gmail.com>
Date: Wed, 30 Jan 2013 00:11:05 +0100
Subject: [PATCH] ntfs-3g: update to 2013.1.13 (SONAME bump).

---
 common/shlibs                          |  2 +-
 srcpkgs/ntfs-3g/ntfs-3g-devel.template |  7 ++-----
 srcpkgs/ntfs-3g/template               | 22 ++++++++--------------
 3 files changed, 11 insertions(+), 20 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index f3d9f28d93..559a510920 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -429,7 +429,7 @@ libSDL_ttf-2.0.so.0 SDL_ttf-2.0.9_1
 libparted.so.2 libparted-3.1_1
 libparted-fs-resize.so.0 libparted-3.1_1
 libopenobex.so.1 libopenobex-1.5_1
-libntfs-3g.so.83 ntfs-3g-2012.1.15_1
+libntfs-3g.so.84 ntfs-3g-2013.1.13_1
 libruby.so.1.9 ruby-1.9.3_1
 libfsimage.so.1.0 xen-4.1.2_1
 libxenctrl.so.4.0 xen-4.1.2_1
diff --git a/srcpkgs/ntfs-3g/ntfs-3g-devel.template b/srcpkgs/ntfs-3g/ntfs-3g-devel.template
index b170e7b3ec..b4217c9ec2 100644
--- a/srcpkgs/ntfs-3g/ntfs-3g-devel.template
+++ b/srcpkgs/ntfs-3g/ntfs-3g-devel.template
@@ -1,12 +1,9 @@
 # Template file for 'ntfs-3g-devel'.
 #
-depends="fuse-devel ntfs-3g"
+depends="fuse-devel ntfs-3g>=${version}"
 short_desc="${short_desc} -- development files"
-long_desc="${long_desc}
-
- This package contains files for development, headers, static libs, etc."
-
 replaces="ntfsprogs-devel>=0"
+noarch=yes
 
 do_install() {
 	vmove usr/include usr
diff --git a/srcpkgs/ntfs-3g/template b/srcpkgs/ntfs-3g/template
index 5953c8c936..f854e5c199 100644
--- a/srcpkgs/ntfs-3g/template
+++ b/srcpkgs/ntfs-3g/template
@@ -1,28 +1,22 @@
 # Template file for 'ntfs-3g'
 pkgname=ntfs-3g
-version=2012.1.15
-revision=4
-wrksrc=${pkgname}_ntfsprogs-${version}
-distfiles="http://www.tuxera.com/opensource/${pkgname}_ntfsprogs-${version}.tgz"
+version=2013.1.13
+revision=1
+wrksrc="${pkgname}_ntfsprogs-${version}"
 build_style=gnu-configure
 configure_args="--exec-prefix=/usr --disable-static --with-fuse=external
---enable-posix-acls --enable-xattr-mappings"
+ --enable-posix-acls --enable-xattr-mappings"
 makedepends="pkg-config libuuid-devel fuse-devel"
 short_desc="Stable Read/Write NTFS Driver in userspace"
 maintainer="Juan RP <xtraeme@gmail.com>"
-checksum=6f1611c5000de7ca99141a9b853cba2c8dbd86c8e36d5efbe7ba918af773fb25
-long_desc="
- The NTFS-3G driver is a freely and commercially available and supported
- read/write NTFS driver for Linux, Mac OS X, FreeBSD, NetBSD, OpenSolaris,
- QNX, Haiku, and other operating systems. It provides safe and fast handling
- of the Windows XP, Windows Server 2003, Windows 2000, Windows Vista, Windows
- Server 2008 and Windows 7 file systems."
+homepage="http://www.tuxera.com/community/ntfs-3g-download/"
+license="GPL-2"
+distfiles="http://www.tuxera.com/opensource/${pkgname}_ntfsprogs-${version}.tgz"
+checksum=4b383f0074a3ab7683339d1f18222b107aaeb4983db119292c43c2b275cefb27
 
 provides="ntfsprogs-${version}"
 replaces="ntfsprogs>=0"
 subpackages="$pkgname-devel"
-build_requires=16
-
 
 post_install() {
 	vmove "sbin/*" usr/sbin