void-packages/srcpkgs/qjson/template
2015-07-25 23:03:02 +02:00

24 lines
665 B
Bash

# Template file for 'qjson'
pkgname=qjson
version=0.8.1
revision=3
build_style=cmake
hostmakedepends="cmake"
makedepends="qt-devel"
short_desc="A QT-based library that maps JSON data to QVariant objects"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://qjson.sourceforge.net"
distfiles="https://github.com/flavio/qjson/archive/$version.tar.gz"
checksum=920c94166cb91b1cf11c7d2745bdbcc8c0ea82411ca7b3732ce0b00ee2d56e98
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
}
}