keepassx: change to build_style=qmake

This commit is contained in:
Andrea Brancaleoni 2015-08-23 18:39:15 +02:00
parent 7c04946f36
commit 3552268e96

View file

@ -1,8 +1,9 @@
# Template file for 'keepassx'
pkgname=keepassx
version=0.4.3
revision=3
revision=4
conflicts="keepassx2>=0"
build_style=qmake
hostmakedepends="pkg-config"
makedepends="libXtst-devel qt-devel"
depends="shared-mime-info"
@ -13,13 +14,6 @@ homepage="https://www.keepassx.org/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=cd901a0611ce57e62cf6df7eeeb1b690b5232302bdad8626994eb54adcfa1e85
do_configure() {
pre_configure() {
sed -i '1,1i#include <unistd.h>' src/lib/random.cpp
qmake
}
do_build() {
make ${makejobs}
}
do_install() {
make INSTALL_ROOT=${DESTDIR} install
}