# Contributor: CyberLeo # Maintainer: CyberLeo pkgname=kpartx pkgver=0.8.4 pkgrel=0 pkgdesc="Manipulates device mappings for the partitions of any block device; part of linux multipath-tools." url="http://christophe.varoqui.free.fr/" arch="all" options="!check" # Requires root and loopback kernel module. license="LGPL-2.0" depends="" makedepends="lvm2-dev" subpackages="$pkgname-doc" source="https://git.opensvc.com/?p=multipath-tools/.git;a=snapshot;h=refs/tags/$pkgver;sf=tgz;/multipath-tools-$pkgver.tar.gz" builddir="$srcdir/multipath-tools-$pkgver" build() { cd kpartx make kpartx } check() { cd kpartx ./test-kpartx } package() { cd kpartx make DESTDIR="$pkgdir" install } sha512sums="130308e61d6dce31085fc2763219f4df0f3ad9153e0e6e7a5a1c3c948a2305cff9413699025c28f9b81dd24d2a9263f9fa825253060e44232c3bb6600cd1f07f multipath-tools-0.8.4.tar.gz"