void-packages/srcpkgs/keepassx/template

25 lines
647 B
Text
Raw Normal View History

2013-03-05 13:34:22 +00:00
# Template file for 'keepassx'
pkgname=keepassx
version=0.4.3
2014-06-08 08:28:41 +00:00
revision=2
hostmakedepends="pkg-config"
makedepends="libXtst-devel qt-devel shared-mime-info"
depends="shared-mime-info"
2013-03-05 13:34:22 +00:00
short_desc="A password manager to secure personal data"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="https://www.keepassx.org/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
2013-03-05 13:34:22 +00:00
checksum=cd901a0611ce57e62cf6df7eeeb1b690b5232302bdad8626994eb54adcfa1e85
2014-06-08 08:28:41 +00:00
do_configure() {
2013-03-05 13:34:22 +00:00
sed -i '1,1i#include <unistd.h>' src/lib/random.cpp
qmake
2014-06-08 08:28:41 +00:00
}
do_build() {
2013-03-05 13:34:22 +00:00
make ${makejobs}
}
do_install() {
make INSTALL_ROOT=${DESTDIR} install
}