diff options
Diffstat (limited to 'extra/ntfs-3g_ntfsprogs/PKGBUILD')
-rw-r--r-- | extra/ntfs-3g_ntfsprogs/PKGBUILD | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/extra/ntfs-3g_ntfsprogs/PKGBUILD b/extra/ntfs-3g_ntfsprogs/PKGBUILD index efe13d040..116ab72b7 100644 --- a/extra/ntfs-3g_ntfsprogs/PKGBUILD +++ b/extra/ntfs-3g_ntfsprogs/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 179546 2013-03-06 15:52:21Z eric $ +# $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> @@ -6,7 +6,7 @@ pkgbase=ntfs-3g_ntfsprogs pkgname=ntfs-3g pkgver=2013.1.13 -pkgrel=2 +pkgrel=3 pkgdesc="NTFS filesystem utilities" arch=('i686' 'x86_64') url="http://www.tuxera.com/community/ntfs-3g-download/" @@ -19,18 +19,22 @@ options=('!libtool') source=(http://tuxera.com/opensource/$pkgbase-$pkgver.tgz) sha1sums=('8c12b7644d90ae9fb8d0aca0d7ebd5f8fac2c818') -build() { - cd "$srcdir/$pkgbase-$pkgver" +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 + --mandir=/usr/share/man --sbin=/usr/bin make } package_ntfs-3g() { - cd "$srcdir/$pkgbase-$pkgver" + 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" } |