Date: Sunday, December 22, 2019 @ 13:44:39 Author: yan12125 Revision: 538837
lxqt-config: add a patch to make it build with Qt 5.14 Also removes the no longer needed CMAKE_INSTALL_LIBDIR [1]. [1] https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/cmake&id=26b053e768072197c4ce326fd620f5ab01d74407 Modified: lxqt-config/trunk/PKGBUILD ----------+ PKGBUILD | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-12-22 13:29:02 UTC (rev 538836) +++ PKGBUILD 2019-12-22 13:44:39 UTC (rev 538837) @@ -15,23 +15,28 @@ 'xsettingsd: help GTK applications apply themes on the fly' ) 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" + $pkgname-qt5.14.patch::https://github.com/lxqt/lxqt-config/commit/cd7de12f2ebe5a2ad03c2086da4c3b5317a4506e.patch ) sha256sums=('2ffb0a8627652861f1d5c3a9f5071d7e1016071d829c0bd17be234b3ed34639a' - 'SKIP') + 'SKIP' + 'bc9c8159167e6689ec7f51297e21e100f602b2b3b3d98ece9a7ca7b37c90fa5a') validpgpkeys=( "169704C6FB490C6892C7F23C37E0AF1FDA48F373" # Jerome Leclanche <[email protected]> "7C733BA5F585AAD669E4D23A42C9C8D3AF5EA5E3" # Alf Gaida <[email protected]> ) +prepare() { + cd $pkgname-$pkgver + patch -Np1 -i ../$pkgname-qt5.14.patch +} build() { mkdir -p build cd build cmake "$srcdir/$pkgname-$pkgver" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib + -DCMAKE_INSTALL_PREFIX=/usr make }
