wok view lxqt-globalkeys/receipt @ rev 25800

Up xcursor-aero (20240910)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 28 13:19:05 2024 +0000 (4 weeks ago)
parents 5ea0ce1cecc0
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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 mkdir build; cd build
29 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
30 make &&
31 make DESTDIR=$install install
33 # FIXME UPSTREAM: fix .desktop translations
34 sdft $install/usr/share/applications/lxqt-config-globalkeyshortcuts.desktop \
35 -i -r "Name[ru_RU]" \
36 -s "Name[ru]=Настройка глобальных сочетаний клавиш LXQt"
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib $fs/usr/share
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 cp -a $install/usr/share/applications $fs/usr/share
46 }