python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / qoauth / template
blob53a5f2bb8a819a491b7910770ec9455faf827682
1 # Template file for 'qoauth'
2 pkgname=qoauth
3 version=1.0.1
4 revision=4
5 build_style=qmake
6 makedepends="qt-devel qca-devel"
7 short_desc="Support with OAuth-powered network services"
8 maintainer="Juan RP <xtraeme@voidlinux.eu>"
9 license="GPL-2.1"
10 homepage="http://github.com/ayoy/qoauth"
11 distfiles="https://github.com/ayoy/qoauth/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
12 checksum=10212e0d5b735b98faef644b8eee92b8217e6e9222987c649920e0c4ec0b1e8c
14 CXXFLAGS="-I/usr/include/QtCrypto"
16 pre_configure() {
17         sed -i src/src.pro \
18                 -e 's|lib64|lib|' \
19                 -e '/QT -=/a LIBS += -lqca'
22 qoauth-devel_package() {
23         depends="qca-devel ${sourcepkg}-${version}_${revision}"
24         pkg_install() {
25                 vmove usr/include
26                 vmove usr/lib/pkgconfig
27                 vmove "usr/lib/*.so"
28                 vmove "usr/lib/*.prl"
29                 vmove usr/share/qt
30         }