summaryrefslogtreecommitdiff
path: root/extra/udisks2/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/udisks2/PKGBUILD')
-rw-r--r--extra/udisks2/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/extra/udisks2/PKGBUILD b/extra/udisks2/PKGBUILD
new file mode 100644
index 000000000..5b2177e49
--- /dev/null
+++ b/extra/udisks2/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 156994 2012-04-23 09:10:49Z ibiru $
+# Maintainer: Ionut Biru <ibiru@archlinux.org>
+
+pkgname=udisks2
+pkgver=1.94.0
+pkgrel=1
+pkgdesc="Disk Management Service, version 2"
+arch=('i686' 'x86_64')
+url="http://www.freedesktop.org/wiki/Software/udisks"
+license=('GPL2')
+depends=('glib2' 'udev' 'polkit' 'libatasmart' 'eject')
+makedepends=('intltool' 'docbook-xsl' 'gobject-introspection')
+optdepends=('parted: partition management'
+ 'gptfdisk: GUID partition table support')
+options=(!libtool)
+source=(http://udisks.freedesktop.org/releases/udisks-$pkgver.tar.bz2)
+sha256sums=('e58193c2f2f4fba030b6dd684708352b1eccf6826843e42899a26fef4249b0bc')
+
+build() {
+ cd "udisks-$pkgver"
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --with-systemdsystemunitdir=/usr/lib/systemd/system \
+ --localstatedir=/var --disable-static
+ make
+}
+
+package() {
+ cd "udisks-$pkgver"
+ make DESTDIR="$pkgdir" install
+}