[arch-commits] Commit in libblockdev/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Mon Nov 9 18:29:31 UTC 2020


    Date: Monday, November 9, 2020 @ 18:29:31
  Author: felixonmars
Revision: 399898

archrelease: copy trunk to staging-x86_64

Added:
  libblockdev/repos/staging-x86_64/
  libblockdev/repos/staging-x86_64/PKGBUILD
    (from rev 399896, libblockdev/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: libblockdev/repos/staging-x86_64/PKGBUILD (from rev 399896, libblockdev/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-11-09 18:29:31 UTC (rev 399898)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=libblockdev
+pkgver=2.24
+pkgrel=2
+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=('845d329bc43585a13ce021b9a1ec52d8790b7e8fbf378bde46247598ebf3f6bbb6c34ffa6b0570dfb50218278964bcf580ffa37c2f315daf63c425b326df55f1')
+
+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
+}



More information about the arch-commits mailing list