mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
33 lines
904 B
Bash
33 lines
904 B
Bash
#
|
|
# 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
|
|
mkdir -p build
|
|
cd build
|
|
cmake ../${_origname} \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
} |