# Maintainer: Martchus _name=passwordfile pkgname=passwordfile-git pkgver=20.bcefbb6 pkgrel=4 arch=('i686' 'x86_64') pkgdesc="C++ library to read/write passwords from/to encrypted files (using AES-256-CBC via OpenSSL, git version)." license=('GPL') depends=('c++utilities' 'openssl') makedepends=('qt5-base') provides=('passwordfile') conflicts=('passwordfile') install= url="https://github.com/Martchus/passwordfile" source=("${pkgname}::git://github.com/Martchus/passwordfile.git") _reponame=passwordfile sha256sums=('SKIP') pkgver() { cd "${srcdir}/${pkgname}" echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } build() { cd "${srcdir}/${pkgname}" INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$_name.pro" make -j 4 } package() { cd "${srcdir}/${pkgname}" make install }