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

Chih-Hsuan Yen yan12125 at archlinux.org
Thu May 21 05:59:38 UTC 2020


    Date: Thursday, May 21, 2020 @ 05:59:37
  Author: yan12125
Revision: 631038

upgpkg: lxqt-panel 0.15.1-1; update URL; follow CMake package guidelines

Modified:
  lxqt-panel/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-21 02:45:10 UTC (rev 631037)
+++ PKGBUILD	2020-05-21 05:59:37 UTC (rev 631038)
@@ -1,12 +1,12 @@
 # Maintainer: Jerome Leclanche <jerome at leclan.ch>
 
 pkgname=lxqt-panel
-pkgver=0.15.0
+pkgver=0.15.1
 pkgrel=1
 pkgdesc="The LXQt desktop panel"
 arch=("x86_64")
 groups=("lxqt")
-url="https://lxqt.org"
+url="https://github.com/lxqt/$pkgname"
 license=("LGPL2.1")
 depends=(
 	"libdbusmenu-qt5" "libxcomposite" "lxmenu-data"
@@ -26,7 +26,7 @@
 source=(
 	"https://github.com/lxqt/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"{,.asc}
 )
-sha256sums=('64f802644cdc0e8744aa631798b0b05e8df8d2eceb53b530dbfe392324b5d9a0'
+sha256sums=('86052bab16fa5b4b5a8e5a522e2de6ac0b12e40fedf18d0636e9db306ea280ac'
             'SKIP')
 validpgpkeys=(
 	"169704C6FB490C6892C7F23C37E0AF1FDA48F373"  # Jerome Leclanche <jerome at leclan.ch>
@@ -36,14 +36,13 @@
 
 
 build() {
-	mkdir -p build
-	cd build
-	cmake "$srcdir/$pkgname-$pkgver" \
-		-DCMAKE_INSTALL_PREFIX=/usr
-	make
+	cmake -B build -S "$srcdir/$pkgname-$pkgver" \
+		-DCMAKE_INSTALL_PREFIX=/usr \
+		-DCMAKE_BUILD_TYPE=None
+	make -C build
 }
 
 package() {
 	cd build
 	make DESTDIR="$pkgdir" install
-	}
+}



More information about the arch-commits mailing list