* update qterminal to 2.0.0-1

This commit is contained in:
Alexander Baldeck 2024-07-01 22:50:52 +02:00
parent 54c70956df
commit bcbb44ed42

View File

@ -3,19 +3,20 @@
# Co-Maintainer: Chih-Hsuan Yen <yan12125@archlinux.org>
pkgname=qterminal
pkgver=1.4.0
pkgver=2.0.0
pkgrel=1
pkgdesc="A lightweight Qt-based terminal emulator"
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
groups=("lxqt")
url="https://github.com/lxqt/$pkgname"
license=("GPL2")
depends=("hicolor-icon-theme" "qtermwidget" "qt5-x11extras" "libcanberra")
# https://github.com/lxqt/qterminal/blob/2.0.0/qterminal.metainfo.xml#L10
license=('GPL-2.0-or-later' 'BSD-3-Clause')
depends=("hicolor-icon-theme" "qtermwidget" "libcanberra")
makedepends=("cmake" "lxqt-build-tools")
source=(
"https://github.com/lxqt/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"{,.asc}
)
sha256sums=('8313326ac3ef728924271cd60a8f79e17e5e755a6bfa4e4419a4b7a53528659f'
sha256sums=('28f00a5c8c31d9108a54b7dcbf87d46f14e460492d2c56e3ecf5b5c3bba4059f'
'SKIP')
validpgpkeys=(
"169704C6FB490C6892C7F23C37E0AF1FDA48F373" # Jerome Leclanche <jerome@leclan.ch>
@ -27,6 +28,8 @@ build() {
mkdir -p build
cd build
awk '/\/\*\*/{flag=1} /\*\*\// {print; flag=0} flag' "$srcdir/$pkgname-$pkgver/src/third-party/qxtglobal.h" > LICENSE-LibQxt
cmake "$srcdir/$pkgname-$pkgver" \
-DCMAKE_INSTALL_PREFIX=/usr
make
@ -35,4 +38,6 @@ build() {
package() {
cd build
make DESTDIR="$pkgdir" install
install -Dm644 LICENSE-LibQxt -t "$pkgdir"/usr/share/licenses/$pkgname
}