# Maintainer: zapp-brannigan (fuerst.reinje@web.de) # jgottula pkgname=vdo pkgrel=2 pkgver=6.2.2.117 pkgdesc='Userspace tools for managing VDO volumes' arch=('x86_64') url="https://github.com/dm-vdo/vdo" license=('GPL2') depends=('kvdo-dkms' 'python-yaml' 'device-mapper') source=("$pkgname-$pkgver.tar.gz::https://github.com/dm-vdo/vdo/archive/$pkgver.tar.gz") sha256sums=('b9ff603fcec476a9cf4affc6a7e4aa93cb0f9ea668b2c9bff58e038f5b3da4e8') build() { cd "$pkgname-$pkgver" make } package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir" \ unitdir=/usr/lib/systemd/system \ presetdir=/usr/lib/systemd/system-preset \ mandir=/usr/share/man \ install cd $pkgdir mkdir -p usr/share/bash-completion/completions mv bash_completion.d/* usr/share/bash-completion/completions/ rmdir bash_completion.d }