From 8106c88ff149aa0280795e6631ac276cac414699 Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Sun, 23 Aug 2015 18:51:28 +0200 Subject: [PATCH] qoauth: change to build_style=qmake --- srcpkgs/qoauth/template | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/srcpkgs/qoauth/template b/srcpkgs/qoauth/template index 0914cda58e6..518339129e3 100644 --- a/srcpkgs/qoauth/template +++ b/srcpkgs/qoauth/template @@ -1,7 +1,8 @@ # Template file for 'qoauth' pkgname=qoauth version=1.0.1 -revision=2 +revision=3 +build_style=qmake wrksrc="${pkgname}-${version}-src" makedepends="qt-devel qca-devel" short_desc="Support with OAuth-powered network services" @@ -10,15 +11,11 @@ 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" -do_build() { +pre_configure() { sed -i 's|lib64|lib|' src/src.pro - qmake - make ${makejobs} -} - -do_install() { - make INSTALL_ROOT=${DESTDIR} install } qoauth-devel_package() {