Commit 1c0ca138 authored by Antoni Aloy Torrens's avatar Antoni Aloy Torrens Committed by alice
Browse files

community/qtermwidget: move from testing

parent 86b1bd4b
# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
pkgname=qtermwidget
_pkgname=qtermwidget5
pkgver=1.1.0
pkgrel=0
pkgdesc="Terminal widget for QTerminal"
url="https://github.com/lxqt/qtermwidget"
arch="all"
license="LGPL-2.0-or-later"
makedepends="cmake lxqt-build-tools qt5-qtbase-dev qt5-qttools-dev"
subpackages="$pkgname-dev"
makedepends="cmake samurai lxqt-build-tools qt5-qtbase-dev qt5-qttools-dev"
subpackages="$pkgname-dev $pkgname-lang"
options="!check" # No testsuite
source="https://github.com/lxqt/qtermwidget/releases/download/$pkgver/qtermwidget-$pkgver.tar.xz"
......@@ -15,7 +16,7 @@ build() {
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
cmake -B build \
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
......@@ -27,6 +28,12 @@ build() {
package() {
DESTDIR="$pkgdir" cmake --build build --target install
}
lang() {
install_if="lang $pkgname=$pkgver-r$pkgrel"
amove usr/share/$_pkgname/translations
}
sha512sums="
808034e372c619357a931c2831233b6e3db01917ca7fc709ddb02af4d26520c247ba1da329445792efeddb0409f596df10e31c7cc78e0386ac1ec64b4d23dc5b qtermwidget-1.1.0.tar.xz
"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment