34 lines
833 B
Bash
34 lines
833 B
Bash
# Maintainer: Martchus <martchus@gmx.net>
|
|
_name=passwordfile
|
|
_reponame=passwordfile
|
|
pkgname=passwordfile-git
|
|
pkgver=20.bcefbb6
|
|
pkgrel=5
|
|
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' 'git')
|
|
provides=('passwordfile')
|
|
conflicts=('passwordfile')
|
|
install=
|
|
url="https://github.com/Martchus/${_reponame}"
|
|
source=("${pkgname}::git://github.com/Martchus/${_reponame}.git")
|
|
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
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}"
|
|
make install
|
|
}
|