blob: 07a3fbf7d53b06e784563e72e2f0026a1e30d17d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# $Id: PKGBUILD 156015 2012-04-11 14:16:02Z 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=2
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 \
--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/
rm -rf "$pkgdir"/lib
ln -s /bin/ntfs-3g "$pkgdir/sbin/mount.ntfs"
}
package_ntfsprogs() {
pkgdesc="NTFS filesystem utilities"
depends=('util-linux' 'ntfs-3g')
cd "$srcdir/$pkgbase-$pkgver/ntfsprogs"
make DESTDIR="$pkgdir" install
}
|