2013-12-18 02:36:04 +08:00
|
|
|
|
2013-12-18 02:41:12 +08:00
|
|
|
# abveritas@chakra-project@org>
|
2010-05-21 07:48:47 +08:00
|
|
|
|
2013-12-18 02:36:04 +08:00
|
|
|
# Include global configuration
|
2010-05-21 07:48:47 +08:00
|
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
|
|
|
|
pkgname=qjson
|
2012-12-27 05:25:07 +08:00
|
|
|
pkgver=0.8.1
|
|
|
|
pkgrel=1
|
2010-05-21 07:48:47 +08:00
|
|
|
pkgdesc="A qt-based library that maps JSON data to QVariant objects."
|
2012-12-27 05:25:07 +08:00
|
|
|
arch=('x86_64')
|
2010-05-21 07:48:47 +08:00
|
|
|
license=('GPL')
|
|
|
|
url="http://qjson.sourceforge.net"
|
|
|
|
depends=('qt')
|
|
|
|
makedepends=('cmake')
|
2012-12-27 05:25:07 +08:00
|
|
|
source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/flavio/${pkgname}/archive/${pkgver}.tar.gz")
|
|
|
|
md5sums=('4eef13da988edf8f91c260a3e1baeea9')
|
2015-05-14 05:17:22 +08:00
|
|
|
options=('!debug')
|
2010-05-21 07:48:47 +08:00
|
|
|
groups=("kde-uninstall" "kde-support")
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $srcdir
|
2010-11-09 16:14:53 +08:00
|
|
|
mkdir -p build
|
2010-05-21 07:48:47 +08:00
|
|
|
cd build
|
2012-12-27 05:25:07 +08:00
|
|
|
cmake ../${pkgname}-${pkgver} \
|
2010-05-21 07:48:47 +08:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
2012-12-27 05:25:07 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $srcdir/build
|
|
|
|
make DESTDIR=${pkgdir} install
|
2013-07-22 19:04:38 +08:00
|
|
|
}
|