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

Felix Yan felixonmars at archlinux.org
Fri May 11 11:18:38 UTC 2018


    Date: Friday, May 11, 2018 @ 11:18:37
  Author: felixonmars
Revision: 323942

archrelease: copy trunk to testing-x86_64

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

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

Copied: libblockdev/repos/testing-x86_64/PKGBUILD (from rev 323941, libblockdev/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2018-05-11 11:18:37 UTC (rev 323942)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=libblockdev
+pkgver=2.17
+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')
+makedepends=('gobject-introspection' 'systemd' 'python')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/rhinstaller/libblockdev/archive/$pkgver-1.tar.gz")
+sha512sums=('e882642e124100abf578699272bf1f0a2618b5eeed3ded4582f8535173238f145f3d4a2ea7dbe4b3b464d646f6e98ef0a891e7dfa7dde7e8c3322c883f7264e6')
+
+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