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

Thomas Bächler thomas at archlinux.org
Thu Jun 10 17:52:10 EDT 2010


    Date: Thursday, June 10, 2010 @ 17:52:09
  Author: thomas
Revision: 82406

Fix udev rule location

Modified:
  fuse/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-06-10 21:48:42 UTC (rev 82405)
+++ PKGBUILD	2010-06-10 21:52:09 UTC (rev 82406)
@@ -4,14 +4,14 @@
 
 pkgname=fuse
 pkgver=2.8.4
-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/"
 license="GPL2"
 depends=('glibc')
-makedepends=('pkgconfig')
-backup=(etc/fuse.conf etc/udev/rules.d/99-fuse.rules)
+makedepends=('pkg-config')
+backup=(etc/fuse.conf)
 install=fuse.install
 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
 	'fuse.conf')
@@ -43,5 +43,8 @@
   ln -s libulockmgr.so.1.0.1 ${pkgdir}/lib/libulockmgr.so.1 || return 1
 
   # install sample config file
-  install -Dm644 ${srcdir}/fuse.conf ${pkgdir}/etc/fuse.conf
+  install -Dm644 ${srcdir}/fuse.conf ${pkgdir}/etc/fuse.conf || return 1
+  # Fix udev rule location
+  install -d -m755 "${pkgdir}/lib"
+  mv "${pkgdir}/etc/udev" "${pkgdir}/lib/"
 }



More information about the arch-commits mailing list