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

Chih-Hsuan Yen yan12125 at archlinux.org
Fri May 29 09:20:53 UTC 2020


    Date: Friday, May 29, 2020 @ 09:20:51
  Author: yan12125
Revision: 636977

upgpkg: liblxqt 0.15.1-1; fix URL; add myself as a Maintainer; remove trailing dot from pkgdesc; use my styles; follow CMake package guidelines

Modified:
  liblxqt/trunk/PKGBUILD

----------+
 PKGBUILD |   33 ++++++++++++++++-----------------
 1 file changed, 16 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-29 08:24:45 UTC (rev 636976)
+++ PKGBUILD	2020-05-29 09:20:51 UTC (rev 636977)
@@ -1,35 +1,34 @@
 # Maintainer: Jerome Leclanche <jerome at leclan.ch>
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
 
 pkgname=liblxqt
-pkgver=0.15.0
-pkgrel=2
-pkgdesc="Common base library for LXQt components."
+pkgver=0.15.1
+pkgrel=1
+pkgdesc="Common base library for LXQt components"
 arch=("x86_64")
-url="https://lxqt.org"
+url="https://github.com/lxqt/$pkgname"
 license=("LGPL2.1")
 depends=("kwindowsystem" "libqtxdg" "libxss" "polkit-qt5" "libQt5Xdg.so")
 makedepends=("lxqt-build-tools")
 source=(
-	"https://github.com/lxde/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"
-	"https://github.com/lxde/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz.asc"
+  "https://github.com/lxqt/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"{,.asc}
 )
-sha256sums=('48e72ed15e7ac0badbd132d17ff2c9d95f2c9652a807dfe1d3f4ff00c8b7cb44'
+sha256sums=('4991673741df2f731e3c24e65bdc0e91c239ebdf399f4c4793b75e79fd13e655'
             'SKIP')
 validpgpkeys=(
-	"169704C6FB490C6892C7F23C37E0AF1FDA48F373"  # Jerome Leclanche <jerome at leclan.ch>
-	"7C733BA5F585AAD669E4D23A42C9C8D3AF5EA5E3"  # Alf Gaida <agaida at siduction.org>
-	"19DFDF3A579BD509DBB572D8BE793007AD22DF7E"  # Pedram Pourang <tsujan2000 at gmail.com>
+  "169704C6FB490C6892C7F23C37E0AF1FDA48F373"  # Jerome Leclanche <jerome at leclan.ch>
+  "7C733BA5F585AAD669E4D23A42C9C8D3AF5EA5E3"  # Alf Gaida <agaida at siduction.org>
+  "19DFDF3A579BD509DBB572D8BE793007AD22DF7E"  # Pedram Pourang <tsujan2000 at gmail.com>
 )
 
 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
+  cd build
+  make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list