summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 51b867164c92..f1b99827a8eb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,19 @@
# Maintainer: Felix Barz <skycoder42.de@gmx.de>
pkgname=qt5-restclient
pkgver=1.2.3
-pkgrel=3
+pkgrel=4
pkgdesc="A library for generic JSON-based REST-APIs, with a mechanism to map JSON to Qt objects"
arch=('i686' 'x86_64')
url="https://github.com/Skycoder42/QtRestClient"
license=('BSD')
-depends=('qt5-base' 'qt5-tools' 'qt5-jsonserializer>=2.1.0')
-makedepends=('git')
+depends=('qt5-base' 'qt5-jsonserializer>=2.1.0')
+makedepends=('git' 'qt5-tools')
+optdepends=("repkg: Automatically rebuild the package on dependency updates")
_pkgfqn=$pkgname-$pkgver
-source=("$_pkgfqn::git+https://github.com/Skycoder42/QtRestClient.git#tag=$pkgver")
-md5sums=('SKIP')
+source=("$_pkgfqn::git+https://github.com/Skycoder42/QtRestClient.git#tag=$pkgver"
+ "$pkgname.rule")
+sha256sums=('SKIP'
+ '6029d42b05d32d99a6e673e5a7c95ac657e6258f88835f8aff05bde7535e543b')
prepare() {
mkdir -p build
@@ -32,4 +35,5 @@ package() {
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
install -D -m644 "../$_pkgfqn/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -D -m644 "../${pkgname}.rule" "$pkgdir/etc/repkg/rules/${pkgname}.rule"
}