1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
6 pkgdesc="A library for manipulating block devices"
8 url="https://github.com/rhinstaller/libblockdev"
10 depends=('btrfs-progs' 'dosfstools' 'dmraid' 'gptfdisk' 'libbytesize' 'lvm2' 'mdadm' 'ndctl'
11 'parted' 'volume_key' 'xfsprogs' 'kmod' 'libyaml')
12 makedepends=('autoconf-archive' 'gobject-introspection' 'systemd' 'python')
13 source=("$pkgname-$pkgver.tar.gz::https://github.com/rhinstaller/libblockdev/archive/$pkgver-1.tar.gz")
14 sha512sums=('d6c13d1e3d8aa2b1c721c13a387377c837dec0e7efc1b9a950204d8c879d420fbd57b2f8ab324a4685a8d0dae785a603ec3413d3e9e2987003c1258180bcf6e7')
17 cd "$srcdir"/$pkgname-$pkgver-1
19 ./configure --prefix=/usr --sysconfdir=/etc --without-lvm_dbus
24 cd "$srcdir"/$pkgname-$pkgver-1
29 cd "$srcdir"/$pkgname-$pkgver-1
30 make DESTDIR="$pkgdir" install