33 lines
792 B
Bash
33 lines
792 B
Bash
|
# Maintainer: Martchus <martchus@gmx.net>
|
||
|
pkgname=passwordfile-git
|
||
|
pkgver=3.0.0
|
||
|
pkgrel=1
|
||
|
arch=('i686' 'x86_64')
|
||
|
pkgdesc="C++ library to read/write passwords from/to encrypted files (using AES-256-CBC via OpenSSL)."
|
||
|
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
|
||
|
}
|