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

Felix Yan felixonmars at archlinux.org
Wed Jun 20 13:06:31 UTC 2018


    Date: Wednesday, June 20, 2018 @ 13:06:30
  Author: felixonmars
Revision: 327330

archrelease: copy trunk to testing-x86_64

Added:
  libblockdev/repos/testing-x86_64/
  libblockdev/repos/testing-x86_64/PKGBUILD
    (from rev 327329, libblockdev/trunk/PKGBUILD)

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

Copied: libblockdev/repos/testing-x86_64/PKGBUILD (from rev 327329, libblockdev/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2018-06-20 13:06:30 UTC (rev 327330)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=libblockdev
+pkgver=2.18
+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=('gobject-introspection' 'systemd' 'python')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/rhinstaller/libblockdev/archive/$pkgver-1.tar.gz")
+sha512sums=('c7837b0abb7747baf8dc2a21a0a75bc5fb80693a1685ddb310bf7d606d44ea65fa4c934cff6c09c5069806dea3ee056eb53c64122ec43b5c0485cdf92fda58d5')
+
+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