Date: Monday, June 6, 2022 @ 17:29:17 Author: felixonmars Revision: 447645
archrelease: copy trunk to testing-x86_64 Added: libblockdev/repos/testing-x86_64/ libblockdev/repos/testing-x86_64/PKGBUILD (from rev 447644, libblockdev/trunk/PKGBUILD) ----------+ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) Copied: libblockdev/repos/testing-x86_64/PKGBUILD (from rev 447644, libblockdev/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2022-06-06 17:29:17 UTC (rev 447645) @@ -0,0 +1,31 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=libblockdev +pkgver=2.27 +pkgrel=1 +pkgdesc="A library for manipulating block devices" +arch=('x86_64') +url="https://github.com/rhinstaller/libblockdev" +license=('LGPL') +depends=('btrfs-progs' 'dosfstools' 'dmraid' 'gptfdisk' 'libbytesize' 'lvm2' 'mdadm' 'ndctl' + 'parted' 'volume_key' 'xfsprogs' 'kmod' 'libyaml') +makedepends=('autoconf-archive' 'gobject-introspection' 'systemd' 'python') +source=("$pkgname-$pkgver.tar.gz::https://github.com/rhinstaller/libblockdev/archive/$pkgver-1.tar.gz") +sha512sums=('d6c13d1e3d8aa2b1c721c13a387377c837dec0e7efc1b9a950204d8c879d420fbd57b2f8ab324a4685a8d0dae785a603ec3413d3e9e2987003c1258180bcf6e7') + +build() { + cd "$srcdir"/$pkgname-$pkgver-1 + ./autogen.sh + ./configure --prefix=/usr --sysconfdir=/etc --without-lvm_dbus + make +} + +check() { + cd "$srcdir"/$pkgname-$pkgver-1 + make check +} + +package() { + cd "$srcdir"/$pkgname-$pkgver-1 + make DESTDIR="$pkgdir" install +}