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=('22d594604ea6cefe7ad5567037cdebaabac6289757cef9f3cc02dcb585aaa418d227b107363943029988a2c5689a730a746444ed141e1b7b644b9e3dd69647b6')
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