# $Id: PKGBUILD 198468 2013-10-30 15:03:29Z allan $ # Maintainer: Ionut Biru pkgname=udisks2 pkgver=2.1.1 pkgrel=3 pkgdesc="Disk Management Service, version 2" arch=('i686' 'x86_64') url="http://www.freedesktop.org/wiki/Software/udisks" license=('GPL2') depends=('glib2' 'systemd' 'polkit' 'libatasmart' 'util-linux') makedepends=('intltool' 'docbook-xsl' 'gobject-introspection' 'python') optdepends=('parted: partition management' 'gptfdisk: GUID partition table support' 'ntfs-3g: NTFS filesystem management support' 'dosfstools: VFAT filesystem management support') source=(http://udisks.freedesktop.org/releases/udisks-$pkgver.tar.bz2) sha256sums=('013b09ff38aa256b89c01525771f4565cb088724d5c8c79b32e9f811e88086fb') build() { cd "udisks-$pkgver" ./configure --prefix=/usr --sysconfdir=/etc \ --sbindir=/usr/bin \ --with-systemdsystemunitdir=/usr/lib/systemd/system \ --localstatedir=/var --disable-static make } package() { cd "udisks-$pkgver" make DESTDIR="$pkgdir" install \ bash_completiondir=/usr/share/bash-completion/completions }