[arch-commits] Commit in libblockdev/repos (4 files)
Felix Yan
felixonmars at archlinux.org
Tue Jun 6 17:57:03 UTC 2017
Date: Tuesday, June 6, 2017 @ 17:57:02
Author: felixonmars
Revision: 298097
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
libblockdev/repos/extra-i686/
libblockdev/repos/extra-i686/PKGBUILD
(from rev 298096, libblockdev/trunk/PKGBUILD)
libblockdev/repos/extra-x86_64/
libblockdev/repos/extra-x86_64/PKGBUILD
(from rev 298096, libblockdev/trunk/PKGBUILD)
-----------------------+
extra-i686/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
extra-x86_64/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 84 insertions(+)
Copied: libblockdev/repos/extra-i686/PKGBUILD (from rev 298096, libblockdev/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2017-06-06 17:57:02 UTC (rev 298097)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=libblockdev
+pkgver=2.8
+pkgrel=1
+pkgdesc="A library for manipulating block devices"
+arch=('i686' 'x86_64')
+url="https://github.com/rhinstaller/libblockdev"
+license=('LGPL')
+depends=('glib2' 'libsystemd')
+makedepends=('cryptsetup' 'dmraid' 'gobject-introspection' 'kmod' 'libbytesize' 'libsystemd' 'nss'
+ 'parted' 'python' 'volume_key')
+optdepends=('dmraid: For Device Mapper plugin'
+ 'parted: For FS plugin'
+ 'lvm2: For LVM plugin'
+ 'volume_key: For crypto plugin'
+ 'btrfs-progs: For BTRFS plugin'
+ 'libbytesize: For BTRFS plugin')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/rhinstaller/libblockdev/archive/$pkgver-1.tar.gz")
+sha512sums=('d3e72b41aaab3837df9383d3997fdfbc983ca90fa7268895eda5d78825ff475f60a3d6183fc22187cd9836fca619b433a0e78045c31040498483d1ba9f9ad25e')
+
+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
+ make
+}
+
+check() {
+ cd "$srcdir"/$pkgname-$pkgver-1
+ make check
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver-1
+ make DESTDIR="$pkgdir" install
+}
Copied: libblockdev/repos/extra-x86_64/PKGBUILD (from rev 298096, libblockdev/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2017-06-06 17:57:02 UTC (rev 298097)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=libblockdev
+pkgver=2.8
+pkgrel=1
+pkgdesc="A library for manipulating block devices"
+arch=('i686' 'x86_64')
+url="https://github.com/rhinstaller/libblockdev"
+license=('LGPL')
+depends=('glib2' 'libsystemd')
+makedepends=('cryptsetup' 'dmraid' 'gobject-introspection' 'kmod' 'libbytesize' 'libsystemd' 'nss'
+ 'parted' 'python' 'volume_key')
+optdepends=('dmraid: For Device Mapper plugin'
+ 'parted: For FS plugin'
+ 'lvm2: For LVM plugin'
+ 'volume_key: For crypto plugin'
+ 'btrfs-progs: For BTRFS plugin'
+ 'libbytesize: For BTRFS plugin')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/rhinstaller/libblockdev/archive/$pkgver-1.tar.gz")
+sha512sums=('d3e72b41aaab3837df9383d3997fdfbc983ca90fa7268895eda5d78825ff475f60a3d6183fc22187cd9836fca619b433a0e78045c31040498483d1ba9f9ad25e')
+
+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
+ 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