* update qterminal to 2.0.1-1

This commit is contained in:
Alexander Baldeck 2024-09-19 17:52:40 +02:00
parent 1b3fa8d63a
commit a8ae2226e6
2 changed files with 20 additions and 29 deletions

View File

@ -1,23 +1,21 @@
pkgbase = qterminal
pkgdesc = A lightweight Qt-based terminal emulator
pkgver = 1.4.0
pkgver = 2.0.1
pkgrel = 1
url = https://github.com/lxqt/qterminal
arch = x86_64
groups = lxqt
license = GPL2
license = GPL-2.0-or-later
license = BSD-3-Clause
makedepends = git
makedepends = cmake
makedepends = lxqt-build-tools
depends = hicolor-icon-theme
depends = qtermwidget
depends = qt5-x11extras
depends = libcanberra
source = https://github.com/lxqt/qterminal/releases/download/1.4.0/qterminal-1.4.0.tar.xz
source = https://github.com/lxqt/qterminal/releases/download/1.4.0/qterminal-1.4.0.tar.xz.asc
validpgpkeys = 169704C6FB490C6892C7F23C37E0AF1FDA48F373
validpgpkeys = 7C733BA5F585AAD669E4D23A42C9C8D3AF5EA5E3
depends = layer-shell-qt
source = git+https://github.com/lxqt/qterminal.git?signed#tag=2.0.1
validpgpkeys = 19DFDF3A579BD509DBB572D8BE793007AD22DF7E
sha256sums = 8313326ac3ef728924271cd60a8f79e17e5e755a6bfa4e4419a4b7a53528659f
sha256sums = SKIP
sha256sums = f8523a955dcc9df8c51457fcc545e255c70f45fce55ba85036de0003aa857255
pkgname = qterminal

View File

@ -1,43 +1,36 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Jerome Leclanche <jerome@leclan.ch>
# Co-Maintainer: Chih-Hsuan Yen <yan12125@archlinux.org>
# Maintainer: Chih-Hsuan Yen <yan12125@archlinux.org>
# Contributor: Jerome Leclanche <jerome@leclan.ch>
pkgname=qterminal
pkgver=2.0.0
pkgver=2.0.1
pkgrel=1
pkgdesc="A lightweight Qt-based terminal emulator"
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
groups=("lxqt")
url="https://github.com/lxqt/$pkgname"
url="https://github.com/lxqt/qterminal"
# 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")
depends=("hicolor-icon-theme" "qtermwidget" "libcanberra" "layer-shell-qt")
makedepends=("git" "cmake" "lxqt-build-tools")
source=(
"https://github.com/lxqt/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"{,.asc}
"git+https://github.com/lxqt/qterminal.git?signed#tag=$pkgver"
)
sha256sums=('28f00a5c8c31d9108a54b7dcbf87d46f14e460492d2c56e3ecf5b5c3bba4059f'
'SKIP')
sha256sums=('f8523a955dcc9df8c51457fcc545e255c70f45fce55ba85036de0003aa857255')
validpgpkeys=(
"169704C6FB490C6892C7F23C37E0AF1FDA48F373" # Jerome Leclanche <jerome@leclan.ch>
"7C733BA5F585AAD669E4D23A42C9C8D3AF5EA5E3" # Alf Gaida <agaida@siduction.org>
"19DFDF3A579BD509DBB572D8BE793007AD22DF7E" # Pedram Pourang <tsujan2000@gmail.com>
"19DFDF3A579BD509DBB572D8BE793007AD22DF7E" # https://github.com/tsujan.gpg
)
build() {
mkdir -p build
cd build
awk '/\/\*\*/{flag=1} /\*\*\// {print; flag=0} flag' qterminal/src/third-party/qxtglobal.h > LICENSE-LibQxt
awk '/\/\*\*/{flag=1} /\*\*\// {print; flag=0} flag' "$srcdir/$pkgname-$pkgver/src/third-party/qxtglobal.h" > LICENSE-LibQxt
cmake "$srcdir/$pkgname-$pkgver" \
cmake -B build -S qterminal \
-DCMAKE_INSTALL_PREFIX=/usr
make
make -C build
}
package() {
cd build
make DESTDIR="$pkgdir" install
make -C build DESTDIR="$pkgdir" install
install -Dm644 LICENSE-LibQxt -t "$pkgdir"/usr/share/licenses/$pkgname
}