# Description: A library for manipulating storage volume encryption keys and storing them separately from volumes to handle forgotten passphrases # URL: https://pagure.io/volume_key # Maintainer: KRAK3N Team, extra ports at krak3n dot my # Depends on: cryptsetup glib gpgme nss swig name=volume_key version=0.3.12 release=1 source=(https://github.com/felixonmars/${name}/archive/${name}-${version}.tar.gz) build() { cd ${name}-${name}-${version} sed -e '/AM_PATH_GPGME/iAM_PATH_GPG_ERROR' \ -e 's/gpg2/gpg/' -i configure.ac autoreconf -fiv ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libdir=/usr/lib \ --libexecdir=/usr/lib/$name \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ --with-python3 \ --with-python=no make make DESTDIR=$PKG install }