# Maintainer: Martchus pkgname=passwordfile-git pkgver=3.0.0 pkgrel=2 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 "$pkgname.pro" make } package() { cd "${srcdir}/${pkgname}" make install }