Commit 86b1bd4b authored by Antoni Aloy Torrens's avatar Antoni Aloy Torrens Committed by alice
Browse files

community/qterminal: move from testing

parent aac96f77
...@@ -7,17 +7,18 @@ url="https://github.com/lxqt/qterminal" ...@@ -7,17 +7,18 @@ url="https://github.com/lxqt/qterminal"
arch="all" arch="all"
license="LGPL-2.0-or-later" license="LGPL-2.0-or-later"
makedepends=" makedepends="
cmake lxqt-build-tools qt5-qttools-dev cmake samurai lxqt-build-tools qt5-qttools-dev
qt5-qtx11extras-dev qtermwidget-dev qt5-qtx11extras-dev qtermwidget-dev
" "
options="!check" # No testsuite options="!check" # No testsuite
subpackages="$pkgname-lang"
source="https://github.com/lxqt/qterminal/releases/download/$pkgver/qterminal-$pkgver.tar.xz" source="https://github.com/lxqt/qterminal/releases/download/$pkgver/qterminal-$pkgver.tar.xz"
build() { build() {
if [ "$CBUILD" != "$CHOST" ]; then if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi fi
cmake -B build \ cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_INSTALL_LIBDIR=lib \
...@@ -29,6 +30,12 @@ build() { ...@@ -29,6 +30,12 @@ build() {
package() { package() {
DESTDIR="$pkgdir" cmake --build build --target install DESTDIR="$pkgdir" cmake --build build --target install
} }
lang() {
install_if="lang $pkgname=$pkgver-r$pkgrel"
amove usr/share/$pkgname/translations
}
sha512sums=" sha512sums="
422ba05ebed00ac7f355cd9599f930f861141b9f69ff3e475ac9bb1e74aa02b4787d18fe52c03350dcb3b9b579d67b67d5d4e3b86aa204084d16c1097dc3b291 qterminal-1.1.0.tar.xz 422ba05ebed00ac7f355cd9599f930f861141b9f69ff3e475ac9bb1e74aa02b4787d18fe52c03350dcb3b9b579d67b67d5d4e3b86aa204084d16c1097dc3b291 qterminal-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