summaryrefslogtreecommitdiff
path: root/extra/fuse
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-04 00:27:56 -0700
committerroot <root@rshg054.dnsready.net>2013-06-04 00:27:56 -0700
commitcc57cb201ddb179d2bb481c13dd4f286ae643b12 (patch)
tree7932470d6b8a193c032f1012a7996cc78ea52201 /extra/fuse
parent1f86bf1b08cb980cea57c1d4d3187e2251f5a63b (diff)
Tue Jun 4 00:27:56 PDT 2013
Diffstat (limited to 'extra/fuse')
-rw-r--r--extra/fuse/PKGBUILD19
1 files changed, 11 insertions, 8 deletions
diff --git a/extra/fuse/PKGBUILD b/extra/fuse/PKGBUILD
index 6b1505a4f..c3086e6c2 100644
--- a/extra/fuse/PKGBUILD
+++ b/extra/fuse/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 171437 2012-11-17 15:03:45Z ronald $
+# $Id: PKGBUILD 187057 2013-06-03 11:16:31Z allan $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Tom Gundersen <teg@jklm.no>
# Contributor: Mark Rosenstand <mark@archlinux.org>
pkgname=fuse
pkgver=2.9.2
-pkgrel=1
+pkgrel=3
pkgdesc="A library that makes it possible to implement a filesystem in a userspace program."
arch=('i686' 'x86_64')
url="http://fuse.sourceforge.net/"
@@ -19,14 +19,18 @@ options=(!libtool)
sha1sums=('fcfc005b1edcd5e8b325729a1b325ff0e8b2a5ab'
'3b42e37a741d4651099225987dc40e7f02a716ad')
-build() {
+prepare() {
cd "$pkgname-$pkgver"
-
# fix building with glibc-2.14
- sed -i '1i#define _GNU_SOURCE' util/fusermount.c
+ sed -i '1i#define _GNU_SOURCE' util/fusermount.c
+
+ sed -i "/MOUNT_FUSE_PATH=/s#/sbin#/usr/bin#" configure
+}
- ./configure --prefix=/usr --libdir=/usr/lib --enable-lib \
- --enable-util --bindir=/bin
+build() {
+ cd "$pkgname-$pkgver"
+ ./configure --prefix=/usr --libdir=/usr/lib \
+ --enable-lib --enable-util
make
}
@@ -38,7 +42,6 @@ package() {
# Remove init script in wrong path
# Don't add our own for now, as fusectl fs oopses on 2.6.18
rm -rf ${pkgdir}/etc/init.d
- #install -D -m755 ${srcdir}/fuse.rc.d ${pkgdir}/etc/rc.d/fuse
# install sample config file
install -Dm644 ${srcdir}/fuse.conf ${pkgdir}/etc/fuse.conf