diff options
Diffstat (limited to 'extra/qjson/PKGBUILD')
-rw-r--r-- | extra/qjson/PKGBUILD | 15 |
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 } |