summaryrefslogtreecommitdiff
path: root/extra/udisks/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/udisks/PKGBUILD')
-rw-r--r--extra/udisks/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/extra/udisks/PKGBUILD b/extra/udisks/PKGBUILD
new file mode 100644
index 000000000..ea7e1bc7a
--- /dev/null
+++ b/extra/udisks/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 106693 2011-01-17 23:18:27Z jgc $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=udisks
+pkgver=1.0.2
+pkgrel=2
+pkgdesc="Disk Management Service"
+arch=('i686' 'x86_64')
+url="http://www.freedesktop.org/wiki/Software/udisks"
+license=('GPL')
+depends=('udev>=164' 'sg3_utils>=1.29' 'glib2>=2.26.1' 'dbus-glib>=0.92' 'polkit>=0.98' 'parted>=2.3' 'device-mapper>=2.02.77' 'libatasmart>=0.17' 'lsof' 'lvm2>=2.02.77' 'eject')
+makedepends=('intltool' 'docbook-xsl')
+options=(!libtool)
+replaces=('devicekit-disks')
+source=(http://hal.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('7dc1a150a6a31b2727144603fa5a8f9852696fc5bdc4a11917b9b0f1b8e3dcf1')
+
+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
+ make DESTDIR="${pkgdir}" install
+}