# Contributor: A. Wilcox <awilfox@adelielinux.org> # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=libblockdev pkgver=2.26 pkgrel=0 pkgdesc="Library for manipulating block devices" url="http://storaged.org/libblockdev/" arch="all" license="GPL-2.0+" depends="" makedepends="cryptsetup-dev dmraid-dev eudev-dev glib-dev kmod-dev lvm2-dev libbytesize-dev nss-dev parted-dev python3 util-linux-dev yaml-dev volume_key-dev" subpackages="$pkgname-dev" source="https://github.com/storaged-project/libblockdev/releases/download/$pkgver-1/libblockdev-$pkgver.tar.gz" build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --without-nvdimm make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums="ddd4e9c22135bd7dad0bb9bc254ac0c63e3bacc592e7c5a0c846e367da3fc248bf6187f1c81407c3bce599d3b0ceeec9a8a0030ad8e981e245f715b35eaec523 libblockdev-2.26.tar.gz"