desktop/qjson/PKGBUILD

34 lines
735 B
Bash
Raw Normal View History

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
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."
arch=('x86_64')
2010-05-21 07:48:47 +08:00
license=('GPL')
url="http://qjson.sourceforge.net"
depends=('qt')
makedepends=('cmake')
source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/flavio/${pkgname}/archive/${pkgver}.tar.gz")
md5sums=('4eef13da988edf8f91c260a3e1baeea9')
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
cmake ../${pkgname}-${pkgver} \
2010-05-21 07:48:47 +08:00
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd $srcdir/build
make DESTDIR=${pkgdir} install
}