Date: Tuesday, February 14, 2023 @ 16:54:24
  Author: yan12125
Revision: 1400462

upgpkg: lxqt-build-tools 0.12.0-2; backport a fix for lxqt-config [1] + minor 
improvements

* Update maintainership. I'm the only maintainer on archweb now.
* Fix license
* Remove no longer used GPG keys
* Add -DCMAKE_BUILD_TYPE=None like other packages using CMake

[1] https://github.com/lxqt/lxqt-build-tools/pull/83

Modified:
  lxqt-build-tools/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++++++++++++++---------
 1 file changed, 17 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-02-14 16:19:54 UTC (rev 1400461)
+++ PKGBUILD    2023-02-14 16:54:24 UTC (rev 1400462)
@@ -1,31 +1,38 @@
-# Maintainer: Jerome Leclanche <[email protected]>
-# Co-Maintainer: Chih-Hsuan Yen <[email protected]>
+# Maintainer: Chih-Hsuan Yen <[email protected]>
+# Contributor: Jerome Leclanche <[email protected]>
 
 pkgname=lxqt-build-tools
 pkgver=0.12.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Various packaging tools and scripts for LXQt applications"
 arch=("any")
 url="https://github.com/lxqt/$pkgname";
-license=("LGPL2.1")
+license=("BSD")
 depends=("cmake" "qt5-tools" "git" "perl")
 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";
+       
"$pkgname-pr83.patch"::"https://github.com/lxqt/lxqt-build-tools/commit/8e53618a1c96b42b0b9a36d0d7d3f2c06a62db81.patch";
 )
 sha256sums=('10075cf6ba6d3bcd8bf444ef78e7e754f40e1f40cd90e8338c1e4c784ca89530'
-            'SKIP')
+            'SKIP'
+            '65ef8ec7d2e0930d19d0867364d0c3f16b5b0e200cfac7381897e2a9d5734935')
 validpgpkeys=(
-       "169704C6FB490C6892C7F23C37E0AF1FDA48F373"  # Jerome Leclanche 
<[email protected]>
-       "7C733BA5F585AAD669E4D23A42C9C8D3AF5EA5E3"  # Alf Gaida 
<[email protected]>
-       "19DFDF3A579BD509DBB572D8BE793007AD22DF7E"  # Pedram Pourang 
<[email protected]>
+       "19DFDF3A579BD509DBB572D8BE793007AD22DF7E"  # 
https://github.com/tsujan.gpg
 )
 
+prepare() {
+       cd $pkgname-$pkgver
+       # Backport https://github.com/lxqt/lxqt-build-tools/pull/83 to fix 
building lxqt-config (merged)
+       patch -Np1 -i ../$pkgname-pr83.patch
+}
+
 build() {
        mkdir -p build
        cd build
        cmake "$srcdir/$pkgname-$pkgver" \
-               -DCMAKE_INSTALL_PREFIX=/usr
+               -DCMAKE_INSTALL_PREFIX=/usr \
+               -DCMAKE_BUILD_TYPE=None
        make
 }
 
@@ -32,4 +39,5 @@
 package() {
        cd build
        make DESTDIR="$pkgdir" install
+       install -Dm644 ../$pkgname-$pkgver/BSD-3-Clause -t 
"$pkgdir/usr/share/licenses/$pkgname"
 }

Reply via email to