1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
7 pkgdesc="Disk Management Service, version 2"
9 url="https://www.freedesktop.org/wiki/Software/udisks"
11 depends=('polkit' 'libatasmart' 'libgudev' 'libblockdev')
12 makedepends=('docbook-xsl' 'gobject-introspection' 'parted' 'gtk-doc')
13 optdepends=('gptfdisk: GUID partition table support'
14 'ntfs-3g: NTFS filesystem management support'
15 'dosfstools: VFAT filesystem management support')
16 backup=('etc/udisks2/udisks2.conf')
17 source=("https://github.com/storaged-project/udisks/archive/udisks-$pkgver.tar.gz")
18 sha512sums=('5b266cbc29f55d4c4a5100147793becf32a95f94bc7e184796bd2505a4e958a6bce9e5ffa584e4a89c7b874ed14ba6d9d096659565d0f51d860ef216d0cbd435')
21 cd udisks-udisks-$pkgver
22 NOCONFIGURE=1 ./autogen.sh
26 cd udisks-udisks-$pkgver
27 ./configure --prefix=/usr --sysconfdir=/etc \
28 --sbindir=/usr/bin --libexecdir=/usr/lib \
29 --with-systemdsystemunitdir=/usr/lib/systemd/system \
30 --localstatedir=/var --disable-static \
31 --enable-gtk-doc enable_available_modules=yes
36 cd udisks-udisks-$pkgver
41 cd udisks-udisks-$pkgver
42 make DESTDIR="$pkgdir" install