archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libblockdev / trunk / PKGBUILD
blob13b823303e20aeb6894f5aac93a0938fe481ee9d
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=libblockdev
4 pkgver=2.27
5 pkgrel=1
6 pkgdesc="A library for manipulating block devices"
7 arch=('x86_64')
8 url="https://github.com/rhinstaller/libblockdev"
9 license=('LGPL')
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')
16 build() {
17   cd "$srcdir"/$pkgname-$pkgver-1
18   ./autogen.sh
19   ./configure --prefix=/usr --sysconfdir=/etc --without-lvm_dbus
20   make
23 check() {
24   cd "$srcdir"/$pkgname-$pkgver-1
25   make check
28 package() {
29   cd "$srcdir"/$pkgname-$pkgver-1
30   make DESTDIR="$pkgdir" install