[arch-commits] Commit in libblockdev/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Oct 26 16:03:25 UTC 2019
Date: Saturday, October 26, 2019 @ 16:03:24
Author: felixonmars
Revision: 365873
archrelease: copy trunk to staging-x86_64
Added:
libblockdev/repos/staging-x86_64/
libblockdev/repos/staging-x86_64/PKGBUILD
(from rev 365872, libblockdev/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: libblockdev/repos/staging-x86_64/PKGBUILD (from rev 365872, libblockdev/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-10-26 16:03:24 UTC (rev 365873)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=libblockdev
+pkgver=2.23
+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=('e1e9976d24bdd8775310c9b25c31eb3b0e2d06a295b75f0c281def694104664f42abbbec307fbeb7c960ba5059299d0da66aa7afb26850c3640a8e73ea777aaf')
+
+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