void-packages/srcpkgs/qoauth/template

34 lines
814 B
Plaintext

# Template file for 'qoauth'
pkgname=qoauth
version=1.0.1
revision=2
wrksrc="${pkgname}-${version}-src"
makedepends="qt-devel qca-devel"
short_desc="Support with OAuth-powered network services"
maintainer="Juan RP <xtraeme@gmail.com>"
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
do_build() {
sed -i 's|lib64|lib|' src/src.pro
qmake
make ${makejobs}
}
do_install() {
make INSTALL_ROOT=${DESTDIR} install
}
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
}
}