summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 19:04:24 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 19:04:24 (GMT)
commitc79effe21dccc03d1cecc5eb6dbc58a3b9f4cb9f (patch)
treedba8e16e9fdc9526cff90733c493ece030ae8bde
parent37c21aff66561118b324dbea4a0b5b64c1b6a0a3 (diff)
downloadlinhes_pkgbuild-c79effe21dccc03d1cecc5eb6dbc58a3b9f4cb9f.zip
linhes_pkgbuild-c79effe21dccc03d1cecc5eb6dbc58a3b9f4cb9f.tar.gz
linhes_pkgbuild-c79effe21dccc03d1cecc5eb6dbc58a3b9f4cb9f.tar.bz2
udisks 1.0.4
-rw-r--r--abs/core/udisks/PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/abs/core/udisks/PKGBUILD b/abs/core/udisks/PKGBUILD
index 68017ee..e576d2e 100644
--- a/abs/core/udisks/PKGBUILD
+++ b/abs/core/udisks/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 136339 2011-08-26 17:03:08Z ibiru $
+# $Id: PKGBUILD 160373 2012-06-01 12:58:48Z dreisner $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=udisks
pkgver=1.0.4
-pkgrel=1
+pkgrel=4
pkgdesc="Disk Management Service"
arch=('i686' 'x86_64')
url="http://www.freedesktop.org/wiki/Software/udisks"
@@ -18,13 +18,14 @@ build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--libexecdir=/usr/lib/udisks --disable-static
- #fix location for bash_completion helper
- sed -i -e 's|profile.d|bash_completion.d|' tools/Makefile
-
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
+ make profiledir=/usr/share/bash-completion/completions DESTDIR="${pkgdir}" install
+ chmod 644 "${pkgdir}/usr/share/bash-completion/completions/udisks-bash-completion.sh"
+ # move udev helpers and rules to /usr/lib
+ mv "${pkgdir}"/lib/udev "${pkgdir}"/usr/lib/
+ rm -r "${pkgdir}"/lib
}