blob: cd1eb5a9c0a5802b19094128c3191fa1d1d18336 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Contributor: k0r10n <k0r10n.dev@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=qjson
pkgver=0.9.0
pkgrel=0
pkgdesc="A qt-based library that maps JSON data to QVariant objects"
url="http://qjson.sourceforge.net/"
arch="all"
license="GPL"
makedepends="qt-dev cmake"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/flavio/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir"/${pkgname}-${pkgver}
prepare() {
cd "$_builddir"
mkdir -p "$builddir"/build
}
build() {
cd "$builddir"/build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
"$builddir"
make
}
package() {
cd "$builddir"/build
make DESTDIR="$pkgdir" install
}
sha512sums="ff0674f32abc6c88f9c535a58931f60baafa355655b043009a2574dadb822f10ec25017b78f2911f897a554a34733d7332c94cf4290dec16a631e22070c15e61 qjson-0.9.0.tar.gz"
|