desktop/support-pkg-qjson/PKGBUILD

33 lines
904 B
Bash
Raw Normal View History

2010-05-21 07:48:47 +08:00
#
# KDE SC Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=qjson
_origname=qjson
pkgver=0.7.1
pkgrel=1
pkgdesc="A qt-based library that maps JSON data to QVariant objects."
arch=('i686' 'x86_64')
license=('GPL')
url="http://qjson.sourceforge.net"
depends=('qt')
makedepends=('cmake')
source=("http://downloads.sourceforge.net/${_origname}/${_origname}-${pkgver}.tar.bz2")
md5sums=('5a833ad606c164ed8aa69f0873366ace')
options=('!splitdbg' '!splithdr')
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
cmake ../${_origname} \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
make DESTDIR=${pkgdir} install || return 1
}