[arch-commits] Commit in qjson/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Fri Nov 9 22:08:37 UTC 2018


    Date: Friday, November 9, 2018 @ 22:08:36
  Author: foutrelis
Revision: 338649

archrelease: copy trunk to staging-x86_64

Added:
  qjson/repos/staging-x86_64/
  qjson/repos/staging-x86_64/PKGBUILD
    (from rev 338648, qjson/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: qjson/repos/staging-x86_64/PKGBUILD (from rev 338648, qjson/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-11-09 22:08:36 UTC (rev 338649)
@@ -0,0 +1,31 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=qjson
+pkgver=0.9.0
+pkgrel=2
+pkgdesc="A Qt4-based library that maps JSON data to QVariant objects"
+arch=(x86_64)
+license=(GPL)
+url="http://qjson.sourceforge.net"
+depends=(qt4)
+makedepends=(cmake)
+source=($pkgname-$pkgver.tar.gz::"https://github.com/flavio/qjson/archive/$pkgver.tar.gz")
+sha256sums=('e812617477f3c2bb990561767a4cd8b1d3803a52018d4878da302529552610d4')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}


More information about the arch-commits mailing list