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

Chih-Hsuan Yen yan12125 at archlinux.org
Sun Jun 14 18:22:58 UTC 2020


    Date: Sunday, June 14, 2020 @ 18:22:57
  Author: yan12125
Revision: 644714

upgpkg: lxqt-runner 0.15.0-2; temporarily disable muparser integration to workaround a muparser regression

Also updates URLs and follow CMake packaging guidelines

Ref: https://github.com/lxqt/lxqt-runner/issues/144

Modified:
  lxqt-runner/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++++++++++----------
 1 file changed, 14 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-14 17:25:15 UTC (rev 644713)
+++ PKGBUILD	2020-06-14 18:22:57 UTC (rev 644714)
@@ -2,17 +2,18 @@
 
 pkgname=lxqt-runner
 pkgver=0.15.0
-pkgrel=1
+pkgrel=2
 pkgdesc="The LXQt application launcher"
 arch=("x86_64")
 groups=("lxqt")
-url="https://lxqt.org"
+url="https://github.com/lxqt/$pkgname"
 license=("LGPL2.1")
-depends=("lxqt-globalkeys" "muparser" "libQt5Xdg.so")
+#depends=("lxqt-globalkeys" "muparser" "libQt5Xdg.so")
+depends=("lxqt-globalkeys" "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"
+	"https://github.com/lxqt/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz.asc"
 )
 sha256sums=('614a3c6f4662835a2d9219b81a442ff4cf7800cdb55028edc5481908a9bbbd0b'
             'SKIP')
@@ -24,11 +25,14 @@
 
 
 build() {
-	mkdir -p build
-	cd build
-	cmake "$srcdir/$pkgname-$pkgver" \
-		-DCMAKE_INSTALL_PREFIX=/usr
-	make
+	# Temporarily disable muparser integration as the latest version of
+	# muparser has an issue
+	# https://github.com/lxqt/lxqt-runner/issues/144
+	cmake -B build -S "$srcdir/$pkgname-$pkgver" \
+		-DCMAKE_BUILD_TYPE=None \
+		-DCMAKE_INSTALL_PREFIX=/usr \
+		-DRUNNER_MATH=OFF
+	make -C build
 }
 
 package() {



More information about the arch-commits mailing list