blob: 8c30b8eee5d6f3fe6a43186ab4910f00f74a55b2 (
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
|
# Contributor: k0r10n <k0r10n.dev@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=qjson
pkgver=0.9.0
pkgrel=3
pkgdesc="A qt-based library that maps JSON data to QVariant objects"
url="http://qjson.sourceforge.net/"
arch="all"
license="LGPL-2.1-or-later"
makedepends="qt5-qtbase-dev cmake"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/flavio/$pkgname/archive/$pkgver.tar.gz"
prepare() {
cd "$builddir"
mkdir -p "$builddir"/build
}
build() {
cd "$builddir"/build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=None \
"$builddir"
make
}
package() {
cd "$builddir"/build
make DESTDIR="$pkgdir" install
}
sha512sums="ff0674f32abc6c88f9c535a58931f60baafa355655b043009a2574dadb822f10ec25017b78f2911f897a554a34733d7332c94cf4290dec16a631e22070c15e61 qjson-0.9.0.tar.gz"
|