Date: Saturday, March 5, 2022 @ 08:46:11
  Author: yan12125
Revision: 1142063

upgpkg: lxqt-qtplugin 1.0.0-2; rebuild against qt 5.15.3

See: https://bugs.archlinux.org/task/74032

Also switches to generator-independent cmake usage and simplifies PKGBUILD a 
little

Modified:
  lxqt-qtplugin/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-03-05 08:40:54 UTC (rev 1142062)
+++ PKGBUILD    2022-03-05 08:46:11 UTC (rev 1142063)
@@ -3,7 +3,7 @@
 
 pkgname=lxqt-qtplugin
 pkgver=1.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc="LXQt platform integration for Qt"
 arch=("x86_64")
 groups=("lxqt")
@@ -12,8 +12,7 @@
 depends=("libdbusmenu-qt5" "libqtxdg" "qt5-x11extras" "libfm-qt" 
"libQt5XdgIconLoader.so")
 makedepends=("lxqt-build-tools")
 source=(
-       
"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";
+       
"https://github.com/lxqt/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"{,.asc}
 )
 sha256sums=('8e789430e1f3b6a354f61d496440a59b797f699320bb8c001d8ef7ac8e1db05e'
             'SKIP')
@@ -27,10 +26,9 @@
        cmake -B build -S "$srcdir/$pkgname-$pkgver" \
          -DCMAKE_INSTALL_PREFIX=/usr \
          -DCMAKE_BUILD_TYPE=None
-       make -C build
+       cmake --build build
 }
 
 package() {
-       cd build
-       make DESTDIR="$pkgdir" install
+       DESTDIR="$pkgdir" cmake --install build
 }

Reply via email to