db-move: moved webkitgtk-6.0 from [testing] to [extra] (x86_64)
[arch-packages.git] / libblockdev / trunk / PKGBUILD
blob8a9a90fa3a1661dcbb8f11272ff1067e16ed0b12
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=libblockdev
4 pkgver=2.28
5 pkgrel=2
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=('22d594604ea6cefe7ad5567037cdebaabac6289757cef9f3cc02dcb585aaa418d227b107363943029988a2c5689a730a746444ed141e1b7b644b9e3dd69647b6')
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