Date: Friday, January 7, 2022 @ 10:42:17 Author: yan12125 Revision: 1095819
upgpkg: lxqt-globalkeys 1.0.1-1 * List myself as the maintainer. Jerome is no longer a package maintainer listed on archweb. * Use cmake --build/--install instead of hard-coding make * Bash coding style Modified: lxqt-globalkeys/trunk/PKGBUILD ----------+ PKGBUILD | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-01-07 10:40:39 UTC (rev 1095818) +++ PKGBUILD 2022-01-07 10:42:17 UTC (rev 1095819) @@ -1,8 +1,8 @@ -# Maintainer: Jerome Leclanche <[email protected]> # Maintainer: Chih-Hsuan Yen <[email protected]> +# Contributor: Jerome Leclanche <[email protected]> pkgname=lxqt-globalkeys -pkgver=1.0.0 +pkgver=1.0.1 pkgrel=1 pkgdesc="LXQt daemon and library for global keyboard shortcuts registration." arch=("x86_64") @@ -12,10 +12,9 @@ depends=("liblxqt") 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=('a90923328a660a5d49f6e51df983213b8c152a8148a49f2eaa2965d3bed92594' +sha256sums=('b81944cc8d8f20f1eeedb3cd54d4e6ad86a1697d71b4212cf60110af43559a45' 'SKIP') validpgpkeys=( "169704C6FB490C6892C7F23C37E0AF1FDA48F373" # Jerome Leclanche <[email protected]> @@ -24,14 +23,11 @@ ) build() { - mkdir -p build - cd build - cmake "$srcdir/$pkgname-$pkgver" \ + cmake -B build -S "$srcdir/$pkgname-$pkgver" \ -DCMAKE_INSTALL_PREFIX=/usr - make + cmake --build build } package() { - cd build - make DESTDIR="$pkgdir" install + DESTDIR="$pkgdir" cmake --install build }
