db-move: moved polari from [testing] to [extra] (x86_64)
[arch-packages.git] / udisks2 / repos / extra-x86_64 / PKGBUILD
blob4dd61363678493043c7068a7144b07a51b800bfb
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
4 pkgname=udisks2
5 pkgver=2.9.4
6 pkgrel=1
7 pkgdesc="Disk Management Service, version 2"
8 arch=('x86_64')
9 url="https://www.freedesktop.org/wiki/Software/udisks"
10 license=('GPL2')
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')
20 prepare() {
21   cd udisks-udisks-$pkgver
22   NOCONFIGURE=1 ./autogen.sh
25 build() {
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
32   make
35 check() {
36   cd udisks-udisks-$pkgver
37   make check
40 package() {
41   cd udisks-udisks-$pkgver
42   make DESTDIR="$pkgdir" install