2013-06-16 19:18:39 +00:00
|
|
|
# Template file for 'qjson'
|
|
|
|
pkgname=qjson
|
|
|
|
version=0.8.1
|
2014-06-22 06:11:36 +00:00
|
|
|
revision=2
|
2013-06-16 19:18:39 +00:00
|
|
|
build_style=cmake
|
2014-07-27 14:05:16 +00:00
|
|
|
hostmakedepends="cmake git"
|
2013-06-16 19:18:39 +00:00
|
|
|
makedepends="qt-devel"
|
|
|
|
short_desc="A QT-based library that maps JSON data to QVariant objects"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-2"
|
2014-11-26 22:48:17 +00:00
|
|
|
update_site="https://github.com/flavio/qjson/tags"
|
|
|
|
update_pattern='/archive/\K[\d\.]+(?=\.tar\.gz")'
|
2013-06-16 19:18:39 +00:00
|
|
|
homepage="http://qjson.sourceforge.net"
|
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
git clone -b${version} git://github.com/flavio/qjson.git ${pkgname}-${version}
|
|
|
|
}
|
|
|
|
|
|
|
|
qjson-devel_package() {
|
|
|
|
depends="qt-devel ${sourcepkg}>=${version}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove usr/lib/cmake
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|