void-packages/srcpkgs/keepassx/template

29 lines
697 B
Text

# Template file for 'keepassx'
pkgname=keepassx
version=0.4.3
revision=1
hostmakedepends="pkg-config"
makedepends="libXtst-devel qt-devel shared-mime-info"
short_desc="A password manager to secure personal data"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="https://www.keepassx.org/"
distfiles="http://downloads.sourceforge.net/keepassx/${pkgname}-${version}.tar.gz"
checksum=cd901a0611ce57e62cf6df7eeeb1b690b5232302bdad8626994eb54adcfa1e85
do_build() {
sed -i '1,1i#include <unistd.h>' src/lib/random.cpp
qmake
make ${makejobs}
}
do_install() {
make INSTALL_ROOT=${DESTDIR} install
}
keepassx_package() {
depends="shared-mime-info"
pkg_install() {
vmove usr
}
}