# Contributor: A. Wilcox <awilfox@adelielinux.org> # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=libblockdev pkgver=2.23 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="ecc4d5a3cb977fbbe176bf6872b6754833d2869e927c32f8466685916ee4550cf806e0b0c8f5e8e76de3839ae591a4eec502ff974c2f0678af6cfd46dd3016f3 libblockdev-2.23.tar.gz"