wok-current view lxqt-globalkeys/receipt @ rev 20016

Up reaver (1.6.1) again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 11 13:47:43 2017 +0200 (2017-08-11)
parents f34d85d9139a
children 5ea0ce1cecc0
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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mkdir build; cd build
22 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
23 make &&
24 make DESTDIR=$install install
26 # FIXME UPSTREAM: fix .desktop translations
27 sdft $install/usr/share/applications/lxqt-config-globalkeyshortcuts.desktop \
28 -i -r "Name[ru_RU]" \
29 -s "Name[ru]=Настройка глобальных сочетаний клавиш LXQt"
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib $fs/usr/share
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 cp -a $install/usr/share/applications $fs/usr/share
39 }