Skip to content

Commit

Permalink
* add libblockdev
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Baldeck committed Mar 6, 2019
1 parent 7436b4f commit 672f1fa
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions libblockdev/PKGBUILD
@@ -0,0 +1,32 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Felix Yan <felixonmars@archlinux.org>

pkgname=libblockdev
pkgver=2.21
pkgrel=1
pkgdesc="A library for manipulating block devices"
arch=(x86_64 powerpc64le)
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=('9991e5b776b4fe62b7f703753630e8ec4769c043047452d63de08d93f823b778179e4568b8b78c3963daf6219422afc9eb82bcc5b07b7f0a422162037b569e41')

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
}

0 comments on commit 672f1fa

Please sign in to comment.