wok view lxqt-globalkeys/receipt @ rev 18422
naim: rece condition
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 21 11:28:06 2015 +0200 (2015-09-21) |
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 }