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

Christian Hesse eworm at archlinux.org
Mon Dec 11 09:10:13 UTC 2017


    Date: Monday, December 11, 2017 @ 09:10:11
  Author: eworm
Revision: 312170

archrelease: copy trunk to staging-x86_64

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

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

Copied: libblockdev/repos/staging-x86_64/PKGBUILD (from rev 312169, libblockdev/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2017-12-11 09:10:11 UTC (rev 312170)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=libblockdev
+pkgver=2.14
+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' 'parted'
+         'volume_key' 'xfsprogs' 'kmod')
+makedepends=('gobject-introspection' 'systemd' 'python')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/rhinstaller/libblockdev/archive/$pkgver-1.tar.gz")
+sha512sums=('fb80e840ed2f247912da93a6cc0cb1846be73dcc16b917f5231f5d7a87eaa7b43d07d5b2110038dd783fefa7ef7df0893785a60079ed02567f1e08bfcbd82343')
+
+prepare() {
+  sed -i 's/-ldmraid //' $pkgname-$pkgver-1/src/lib/Makefile.am
+}
+
+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