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

Chih-Hsuan Yen yan12125 at archlinux.org
Tue Feb 26 06:38:40 UTC 2019


    Date: Tuesday, February 26, 2019 @ 06:38:39
  Author: yan12125
Revision: 436075

upgpkg: qtermwidget 0.14.1-1

* Add myself as a co-maintainer
* Fix `license` following a recent upstream commit [1] and install the file
  (README.md) indicating licenses of other files.

[1] https://github.com/lxqt/qtermwidget/commit/b17add8fc0be0b351cd5c995e5ce52081e2a43c0

Modified:
  qtermwidget/trunk/PKGBUILD

----------+
 PKGBUILD |   35 +++++++++++++++++++----------------
 1 file changed, 19 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-02-26 06:10:57 UTC (rev 436074)
+++ PKGBUILD	2019-02-26 06:38:39 UTC (rev 436075)
@@ -1,37 +1,40 @@
 # Maintainer: Jerome Leclanche <jerome at leclan.ch>
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
 
 pkgname=qtermwidget
-pkgver=0.14.0
+pkgver=0.14.1
 pkgrel=1
 pkgdesc="A terminal widget for Qt, used by QTerminal"
 arch=("x86_64")
-url="http://lxqt.org"
-license=("GPL2")
+url="https://lxqt.org"
+# Yep, it's messy when you're talking about licenses
+license=("LGPL" "custom:BSD" "custom:Public Domain")
 depends=("qt5-base")
 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/lxde/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"
+  "https://github.com/lxde/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz.asc"
 )
-sha256sums=('0db7b6140ad5213383082403508ef3a38dab782caf679ffd4a00b44df519b893'
+sha256sums=('84739f91e6ac5900a39ed7cbb254397a9428b172ee3fe0d1b6c827b751dc3b6c'
             'SKIP')
 validpgpkeys=(
-	"169704C6FB490C6892C7F23C37E0AF1FDA48F373"  # Jerome Leclanche <jerome at leclan.ch>
-	"7C733BA5F585AAD669E4D23A42C9C8D3AF5EA5E3"  # Alf Gaida <agaida at siduction.org>
+  "169704C6FB490C6892C7F23C37E0AF1FDA48F373"  # Jerome Leclanche <jerome at leclan.ch>
+  "7C733BA5F585AAD669E4D23A42C9C8D3AF5EA5E3"  # Alf Gaida <agaida at siduction.org>
 )
 
 
 build() {
-	mkdir -p build
-	cd build
+  mkdir -p build
+  cd build
 
-	cmake "$srcdir/$pkgname-$pkgver" \
-		-DCMAKE_INSTALL_PREFIX=/usr \
-		-DCMAKE_INSTALL_LIBDIR=lib
-	make
+  cmake "$srcdir/$pkgname-$pkgver" \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib
+  make
 }
 
 package() {
-	cd build
-	make DESTDIR="$pkgdir" install
+  cd build
+  make DESTDIR="$pkgdir" install
+  install -Dm644 "$srcdir/$pkgname-$pkgver/README.md" -t "$pkgdir"/usr/share/licenses/$pkgname
 }



More information about the arch-commits mailing list