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

Chih-Hsuan Yen yan12125 at archlinux.org
Sun May 17 06:47:55 UTC 2020


    Date: Sunday, May 17, 2020 @ 06:47:55
  Author: yan12125
Revision: 628219

upgpkg: libfm-qt 0.15.1-1; follow Arch Linux CMake package guidelines; update URLs

Modified:
  libfm-qt/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-17 03:33:12 UTC (rev 628218)
+++ PKGBUILD	2020-05-17 06:47:55 UTC (rev 628219)
@@ -2,11 +2,11 @@
 # Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
 
 pkgname=libfm-qt
-pkgver=0.15.0
+pkgver=0.15.1
 pkgrel=1
 pkgdesc="Core library of PCManFM-Qt (Qt binding for libfm)"
 arch=("x86_64")
-url="https://lxqt.org"
+url="https://github.com/lxqt/$pkgname"
 license=("LGPL2.1")
 depends=("menu-cache" "libexif" "qt5-x11extras")
 makedepends=("lxqt-build-tools")
@@ -15,10 +15,10 @@
 )
 provides=("libfm-qt.so")
 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"
+	"https://github.com/lxqt/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz.asc"
 )
-sha512sums=('e4612e6f892707be94998c8642b58aed4807a1be26b7e3c9f0fe025036fb9070a0c756d52cd9cd106a608b1c50137f799a75dd464e2a0de167e285e8cc3564c3'
+sha512sums=('9bd3f61d830e4f7ba3e72d84e3ff1a07544f6f461d6eea7ecf2b31056020e08d47d83ef920b6e1a481a470dadfb995a6b3e3b57a13574d6abca617a84c71bdf5'
             'SKIP')
 validpgpkeys=(
 	"169704C6FB490C6892C7F23C37E0AF1FDA48F373"  # Jerome Leclanche <jerome at leclan.ch>
@@ -28,12 +28,10 @@
 
 
 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() {



More information about the arch-commits mailing list