wok-next view qterminal/receipt @ rev 20705

busybox-slish: improve packaging
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 26 15:26:30 2018 +0300 (2018-05-26)
parents c0b0151909ba
children f48456621a9d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="qterminal"
4 VERSION="0.8.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="A lightweight Qt-based terminal emulator"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/qterminal/qterminal"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/lxqt/qterminal.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://github.com/lxde/qterminal/releases/download/$VERSION/$TARBALL"
15 BUILD_DEPENDS="cmake qt5-dev mesa-dev qtermwidget-dev lxqt-build-tools"
17 compile_rules() {
18 mkdir build; cd build
19 cmake \
20 -DCMAKE_BUILD_TYPE=Release \
21 -DCMAKE_INSTALL_PREFIX=/usr \
22 -DPULL_TRANSLATIONS=no \
23 .. &&
24 LIBRARY_PATH=/usr/lib make &&
25 make install
26 }
28 genpkg_rules() {
29 copy @std
30 sed -i '/^Actions=/d' $fs/usr/share/applications/qterminal.desktop
31 DEPENDS="qt5-base qt5-x11extras qtermwidget xorg-libX11"
32 TAGS="terminal LXQt"
33 }