summaryrefslogtreecommitdiff
path: root/extra/qjson
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-11-23 02:33:48 -0800
committerroot <root@rshg054.dnsready.net>2012-11-23 02:33:48 -0800
commit1fce42e9327109bd47dba5e3e690144a23bbbc19 (patch)
treee48f488b533fcfa9f4e29f6d2b935e57adf0a178 /extra/qjson
parent13c6302fab6118693af345756375923b9fb7da69 (diff)
Fri Nov 23 02:31:09 PST 2012
Diffstat (limited to 'extra/qjson')
-rw-r--r--extra/qjson/PKGBUILD15
1 files changed, 7 insertions, 8 deletions
diff --git a/extra/qjson/PKGBUILD b/extra/qjson/PKGBUILD
index 61ca3a799..a9c5b6d47 100644
--- a/extra/qjson/PKGBUILD
+++ b/extra/qjson/PKGBUILD
@@ -1,29 +1,28 @@
-# $Id: PKGBUILD 145864 2012-01-03 12:44:42Z andrea $
+# $Id: PKGBUILD 171883 2012-11-22 10:46:44Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=qjson
-pkgver=0.7.1
-pkgrel=2
+pkgver=0.8.0
+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/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('5a833ad606c164ed8aa69f0873366ace')
+source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/flavio/${pkgname}/archive/${pkgver}.tar.gz")
+md5sums=('e9537e6f596f21f0552978bf064a0415')
build() {
- cd "${srcdir}"
mkdir build
cd build
- cmake ../${pkgname} \
+ cmake ../${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make
}
package() {
- cd "${srcdir}/build"
+ cd build
make DESTDIR="${pkgdir}" install
}