[arch-commits] Commit in grantlee/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Sat Sep 10 16:47:46 UTC 2022
Date: Saturday, September 10, 2022 @ 16:47:45
Author: arojas
Revision: 455784
upgpkg: grantlee 5.3.0-1: Update to 5.3.0
Modified:
grantlee/trunk/PKGBUILD
----------+
PKGBUILD | 28 +++++++++++-----------------
1 file changed, 11 insertions(+), 17 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-10 13:57:45 UTC (rev 455783)
+++ PKGBUILD 2022-09-10 16:47:45 UTC (rev 455784)
@@ -3,34 +3,28 @@
# Contributor: Andrea Scarpino <andrea at archlinux.org>
pkgname=grantlee
-pkgver=5.2.0
-pkgrel=3
-pkgdesc="A string template engine based on the Django template system and written in Qt5"
+pkgver=5.3.0
+pkgrel=1
+pkgdesc='A string template engine based on the Django template system and written in Qt'
arch=(x86_64)
-url="https://github.com/steveire/grantlee"
+url='https://github.com/steveire/grantlee'
license=(LGPL2.1)
depends=(qt5-declarative)
makedepends=(cmake doxygen graphviz)
-source=("http://downloads.grantlee.org/grantlee-$pkgver.tar.gz"{,.asc})
-sha256sums=('d6cd04de39a073a787c9ab8e72a0888e40779d21b83fbc788a1b36d31ac659d5'
+source=(http://downloads.grantlee.org/grantlee-$pkgver.tar.gz{,.asc})
+sha256sums=('8c52cd4b0fa86f2bb0a3627d6bee8286f269cd7122a0115101cdec9441669ff2'
'SKIP')
validpgpkeys=(FCA530E51EE4331C2DF16637D264C7B1D02D6509) # Stephen Kelly <steveire at gmail.com>
-prepare() {
- mkdir -p build
-}
-
build() {
- cd build
- cmake ../$pkgname-$pkgver \
+ cmake -B build -S $pkgname-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_TESTS=OFF
- make
- make docs
+ cmake --build build
+ cmake --build build --target docs
}
package() {
- cd build
- make DESTDIR="$pkgdir" install
- install -Dm644 apidox/* -t "$pkgdir"/usr/share/doc/$pkgname
+ DESTDIR="$pkgdir" cmake --install build
+ install -Dm644 build/apidox/* -t "$pkgdir"/usr/share/doc/$pkgname
}
More information about the arch-commits
mailing list