summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSkycoder422018-05-13 01:06:04 +0200
committerSkycoder422018-05-13 01:06:04 +0200
commit1cf4b3428ad5be855f5829d6c97d3c2d99906b31 (patch)
tree03bc48d5983817b77de4fb1fcd721aaa855ed4d2
parent4f296e3786ab16f79d59c47888934e5088cb6201 (diff)
downloadaur-1cf4b3428ad5be855f5829d6c97d3c2d99906b31.tar.gz
updated to 2.0.0
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7c16886436f3..31368c22cdd7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = qt5-restclient
pkgdesc = A library for generic JSON-based REST-APIs, with a mechanism to map JSON to Qt objects
- pkgver = 1.2.6
+ pkgver = 2.0.0
pkgrel = 1
url = https://github.com/Skycoder42/QtRestClient
arch = i686
@@ -14,7 +14,7 @@ pkgbase = qt5-restclient
depends = qt5-base
depends = qt5-jsonserializer>=3.1.0
optdepends = repkg: Automatically rebuild the package on dependency updates
- source = qt5-restclient-1.2.6::git+https://github.com/Skycoder42/QtRestClient.git#tag=1.2.6
+ source = qt5-restclient-2.0.0::git+https://github.com/Skycoder42/QtRestClient.git#tag=2.0.0
source = qt5-restclient.rule
sha256sums = SKIP
sha256sums = 6029d42b05d32d99a6e673e5a7c95ac657e6258f88835f8aff05bde7535e543b
diff --git a/PKGBUILD b/PKGBUILD
index 149ab4d5a2ae..b1e27cb8bd22 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgbase=qt5-restclient
pkgname=(qt5-restclient qt5-restclient-doc)
group=qt5-restclient-full
-pkgver=1.2.6
+pkgver=2.0.0
pkgrel=1
pkgdesc="A library for generic JSON-based REST-APIs, with a mechanism to map JSON to Qt objects"
arch=('i686' 'x86_64')
@@ -43,6 +43,8 @@ package_qt5-restclient() {
find "$pkgdir/usr/lib" -type f -name '*.prl' \
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
+ install -D -m644 "../$_pkgfqn/qbs/Qt/restbuilder/module.qbs" "$pkgdir/usr/share/qbs/modules/Qt/restbuilder/module.qbs"
+
install -D -m644 "../$_pkgfqn/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -D -m644 "../${pkgname}.rule" "$pkgdir/etc/repkg/rules/${pkgname}.rule"
}