diff options
Diffstat (limited to 'pcr/zulucrypt/PKGBUILD')
-rw-r--r-- | pcr/zulucrypt/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pcr/zulucrypt/PKGBUILD b/pcr/zulucrypt/PKGBUILD new file mode 100644 index 000000000..3beb2a7f8 --- /dev/null +++ b/pcr/zulucrypt/PKGBUILD @@ -0,0 +1,37 @@ +# Contributor: Salan54 <salan at fremenil dot com> +# Maintainer : Parabola Aurélien DESBRIÈRES <aurelien@hackers.camp> + +pkgname=zulucrypt +pkgver=4.7.1 +pkgrel=1 +_altpkgname=zuluCrypt +pkgdesc="a cli and gui frontend to cryptsetup." +url="http://code.google.com/p/zulucrypt/" +arch=('x86_64' 'i686') +license=('GPL') +depends=('cryptsetup' 'qt4' 'libpwquality' 'libsecret' 'tcplay') +optdepends=('kdeutils-kwallet: retrieve volume keys from kde kwallet') +conflicts=('zulucrypt-git') +makedepends=('cmake') +options=('!buildflags') +source=("https://github.com/mhogomchungu/zuluCrypt/releases/download/${pkgver}/${_altpkgname}-${pkgver}.tar.bz2") +changelog=${pkgname}.changelog +install=${pkgname}.install + +build() { + cd "${srcdir}/${_altpkgname}-${pkgver}" + mkdir -p build + cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr/ -DNOKDE=true -DCMAKE_BUILD_TYPE=release . .. + make +} + +package() { + echo "changelog updated" + cp "${srcdir}/${_altpkgname}-${pkgver}"/changelog ../${pkgname}.changelog + cd "${srcdir}/${_altpkgname}-${pkgver}" + cd build + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: |