wok-6.x view lxqt-globalkeys/receipt @ rev 24920
updated mp (5.2.10 -> 5.58)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 10 07:48:27 2022 +0100 (2022-04-10) |
parents | c0ce132ba4ee |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="lxqt-globalkeys"
4 VERSION="0.8.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Daemon used to register global keyboard shortcuts"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/lxde/lxqt-globalkeys"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/lxde/$PACKAGE/archive/$VERSION.tar.gz"
12 TAGS="LXQt"
14 DEPENDS="liblxqt libQtCore libQtDBus libQtGui libQtXml xorg-libX11 xorg-libXext"
15 BUILD_DEPENDS="wget cacerts cmake liblxqt-dev Qt4-dev qmake grep xorg-xproto \
16 xorg-libX11-dev liblxqt-dev libqtxdg-dev libQtMimeTypes-dev sdft"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 mkdir build; cd build
28 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
29 make &&
30 make DESTDIR=$install install
32 # FIXME UPSTREAM: fix .desktop translations
33 sdft $install/usr/share/applications/lxqt-config-globalkeyshortcuts.desktop \
34 -i -r "Name[ru_RU]" \
35 -s "Name[ru]=Настройка глобальных сочетаний клавиш LXQt"
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib $fs/usr/share
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 cp -a $install/usr/share/applications $fs/usr/share
45 }