qoauth: fix build

This commit is contained in:
Juergen Buchmueller 2016-09-19 13:44:33 +02:00
parent d456ae7e8e
commit 05b50ed636

View file

@ -1,7 +1,7 @@
# Template file for 'qoauth'
pkgname=qoauth
version=1.0.1
revision=3
revision=4
build_style=qmake
wrksrc="${pkgname}-${version}-src"
makedepends="qt-devel qca-devel"
@ -11,11 +11,13 @@ license="GPL-2.1"
homepage="http://github.com/ayoy/qoauth"
distfiles="http://files.ayoy.net/qoauth/release/current/src/${pkgname}-${version}-src.tar.bz2"
checksum=b8579a77cecb07928e557c4a019db902a0f040b22f7926f147299e87ac5a54fd
CXXFLAGS+="-I/usr/include/QtCrypto"
LDFLAGS+="-lqca"
CXXFLAGS="-I/usr/include/QtCrypto"
pre_configure() {
sed -i 's|lib64|lib|' src/src.pro
sed -i src/src.pro \
-e 's|lib64|lib|' \
-e '/QT -=/a LIBS += -lqca'
}
qoauth-devel_package() {