30 lines
812 B
Bash
30 lines
812 B
Bash
# Template file for 'qoauth'
|
|
pkgname=qoauth
|
|
version=1.0.1
|
|
revision=3
|
|
build_style=qmake
|
|
wrksrc="${pkgname}-${version}-src"
|
|
makedepends="qt-devel qca-devel"
|
|
short_desc="Support with OAuth-powered network services"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
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"
|
|
|
|
pre_configure() {
|
|
sed -i 's|lib64|lib|' src/src.pro
|
|
}
|
|
|
|
qoauth-devel_package() {
|
|
depends="qca-devel ${sourcepkg}-${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove "usr/lib/*.prl"
|
|
vmove usr/share/qt
|
|
}
|
|
}
|