# Maintainer: Baptiste Jonglez # Based on the lvm2 package in [core] pkgname="python-lvm" pkgver=2.02.173 pkgrel=1 arch=('i686' 'x86_64') url="http://sourceware.org/lvm2/" license=('LGPL2.1') pkgdesc="Python 3 bindings for LVM" depends=('python' 'lvm2') source=(https://mirrors.kernel.org/sourceware/lvm2/releases/LVM2.${pkgver}.tgz{,.asc}) sha256sums=('ceb9168c7e009ef487f96a1fe969b23cbb07d920ffb71769affdbdf30fea8d64' 'SKIP') validpgpkeys=('88437EF5C077BD113D3B7224228191C1567E2C17') build() { CONFIGUREOPTS="--prefix=/usr --sysconfdir=/etc --localstatedir=/var --sbindir=/usr/bin \ --with-udev-prefix=/usr --with-systemdsystemunitdir=/usr/lib/systemd/system \ --with-default-pid-dir=/run --with-default-dm-run-dir=/run --with-default-run-dir=/run/lvm \ --with-default-locking-dir=/run/lock/lvm \ --enable-applib --enable-python3_bindings" cd LVM2.${pkgver} ./configure $CONFIGUREOPTS make python } package() { cd LVM2.${pkgver} make -C python DESTDIR="${pkgdir}" install }