keepassx: modernize.
This commit is contained in:
parent
a52432b6e9
commit
e0fd8818d7
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'keepassx'
|
||||
pkgname=keepassx
|
||||
version=0.4.3
|
||||
revision=1
|
||||
revision=2
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libXtst-devel qt-devel shared-mime-info"
|
||||
depends="shared-mime-info"
|
||||
|
@ -12,12 +12,13 @@ homepage="https://www.keepassx.org/"
|
|||
distfiles="http://downloads.sourceforge.net/keepassx/${pkgname}-${version}.tar.gz"
|
||||
checksum=cd901a0611ce57e62cf6df7eeeb1b690b5232302bdad8626994eb54adcfa1e85
|
||||
|
||||
do_build() {
|
||||
do_configure() {
|
||||
sed -i '1,1i#include <unistd.h>' src/lib/random.cpp
|
||||
qmake
|
||||
}
|
||||
do_build() {
|
||||
make ${makejobs}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
make INSTALL_ROOT=${DESTDIR} install
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue