PKGBUILDs/passwordfile/git/PKGBUILD

33 lines
810 B
Bash
Raw Normal View History

2015-08-26 21:21:22 +02:00
# Maintainer: Martchus <martchus@gmx.net>
pkgname=passwordfile-git
pkgver=3.0.0
pkgrel=3
2015-08-26 21:21:22 +02:00
arch=('i686' 'x86_64')
2015-08-28 20:02:43 +02:00
pkgdesc="C++ library to read/write passwords from/to encrypted files (using AES-256-CBC via OpenSSL, git version)."
2015-08-26 21:21:22 +02:00
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
2015-08-27 22:41:20 +02:00
sha256sums=('SKIP')
2015-08-26 21:21:22 +02:00
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 -j 4
2015-08-26 21:21:22 +02:00
}
package() {
cd "${srcdir}/${pkgname}"
make install
}