[arch-commits] Commit in lxqt-session/trunk (PKGBUILD)

Chih-Hsuan Yen yan12125 at gemini.archlinux.org
Sat Jan 1 12:09:18 UTC 2022


    Date: Saturday, January 1, 2022 @ 12:09:17
  Author: yan12125
Revision: 1091680

upgpkg: lxqt-session 1.0.1-1

* List myself as the maintainer. Jerome is no longer a package maintainer
  listed on archweb.
* Use cmake --build/--install instead of hard-coding make

Modified:
  lxqt-session/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-01 12:08:31 UTC (rev 1091679)
+++ PKGBUILD	2022-01-01 12:09:17 UTC (rev 1091680)
@@ -1,7 +1,8 @@
-# Maintainer: Jerome Leclanche <jerome at leclan.ch>
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+# Contributor: Jerome Leclanche <jerome at leclan.ch>
 
 pkgname=lxqt-session
-pkgver=1.0.0
+pkgver=1.0.1
 pkgrel=1
 pkgdesc="The LXQt session manager"
 arch=("x86_64")
@@ -18,7 +19,7 @@
 source=(
 	"https://github.com/lxqt/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"{,.asc}
 )
-sha256sums=('5ad5f810907db7ecfc98f3c562d6df1b04d1d532fc7f8fa953e7b057bc442ac5'
+sha256sums=('3245457cb4a1e59ec62802308c872173baa300fa0f8e517fe14f45112733a6c1'
             'SKIP')
 validpgpkeys=(
 	"169704C6FB490C6892C7F23C37E0AF1FDA48F373"  # Jerome Leclanche <jerome at leclan.ch>
@@ -26,16 +27,12 @@
 	"19DFDF3A579BD509DBB572D8BE793007AD22DF7E"  # Pedram Pourang <tsujan2000 at gmail.com>
 )
 
-
 build() {
-	mkdir -p build
-	cd build
-	cmake "$srcdir/$pkgname-$pkgver" \
+	cmake -S "$srcdir/$pkgname-$pkgver" -B build \
 		-DCMAKE_INSTALL_PREFIX=/usr
-	make
+	cmake --build build
 }
 
 package() {
-	cd build
-	make DESTDIR="$pkgdir" install
+	DESTDIR="$pkgdir" cmake --install build
 }



More information about the arch-commits mailing list