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