[arch-commits] Commit in fuse/trunk (PKGBUILD)

Allan McRae allan at nymeria.archlinux.org
Fri May 31 01:18:02 UTC 2013


    Date: Friday, May 31, 2013 @ 03:18:02
  Author: allan
Revision: 186740

upgpkg: fuse 2.9.2-2

/usr move

Modified:
  fuse/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-30 23:55:19 UTC (rev 186739)
+++ PKGBUILD	2013-05-31 01:18:02 UTC (rev 186740)
@@ -5,7 +5,7 @@
 
 pkgname=fuse
 pkgver=2.9.2
-pkgrel=1
+pkgrel=2
 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,16 @@
 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  
+}
 
+build() {
+  cd "$pkgname-$pkgver"
   ./configure --prefix=/usr --libdir=/usr/lib --enable-lib \
-              --enable-util --bindir=/bin
+              --enable-util
   make
 }
 
@@ -38,7 +40,6 @@
   # 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




More information about the arch-commits mailing list