# Contributor: Carlo Landmeter # Maintainer: Natanael Copa pkgname=udisks pkgver=1.0.2 pkgrel=3 pkgdesc="Disk Management Service" url="http://www.freedesktop.org/wiki/Software/udisks" arch="all" license="GPL" depends="" makedepends="glib-dev polkit-dev parted-dev udev-dev sg3_utils-dev dbus-dev dbus-glib-dev lvm2-dev pkgconfig libatasmart-dev intltool eggdbus-dev expat-dev docbook-xsl libxslt" install= subpackages="$pkgname-dev $pkgname-doc" source="http://hal.freedesktop.org/releases/$pkgname-$pkgver.tar.gz " _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" for i in $source; do case $i in *.patch) patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --libexecdir=/usr/lib/udisks \ --localstatedir=/var \ --disable-static \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install } md5sums="f630eefa51b95d6485eb3246bc1bea9a udisks-1.0.2.tar.gz"