wok-current annotate lxqt-globalkeys/receipt @ rev 19949
memtest: add @cmdlinefile support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 07 21:49:40 2017 +0200 (2017-05-07) |
parents | f34d85d9139a |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
al@16833 | 1 # SliTaz package receipt. |
al@16833 | 2 |
al@16833 | 3 PACKAGE="lxqt-globalkeys" |
al@17221 | 4 VERSION="0.8.0" |
al@17516 | 5 CATEGORY="system-tools" |
al@16833 | 6 SHORT_DESC="Daemon used to register global keyboard shortcuts" |
al@16833 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@16833 | 8 LICENSE="LGPL2.1" |
al@16833 | 9 WEB_SITE="https://github.com/lxde/lxqt-globalkeys" |
al@16833 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@16833 | 11 WGET_URL="https://github.com/lxde/$PACKAGE/archive/$VERSION.tar.gz" |
al@16833 | 12 TAGS="LXQt" |
al@16833 | 13 |
al@16833 | 14 DEPENDS="liblxqt libQtCore libQtDBus libQtGui libQtXml xorg-libX11 xorg-libXext" |
al@16833 | 15 BUILD_DEPENDS="wget cacerts cmake liblxqt-dev Qt4-dev qmake grep xorg-xproto \ |
al@17221 | 16 xorg-libX11-dev liblxqt-dev libqtxdg-dev libQtMimeTypes-dev sdft" |
al@16833 | 17 |
al@16833 | 18 # Rules to configure and make the package. |
al@16833 | 19 compile_rules() |
al@16833 | 20 { |
al@16833 | 21 mkdir build; cd build |
al@16833 | 22 cmake -DCMAKE_INSTALL_PREFIX=/usr .. && |
al@16833 | 23 make && |
al@16833 | 24 make DESTDIR=$install install |
al@17221 | 25 |
al@17221 | 26 # FIXME UPSTREAM: fix .desktop translations |
al@17221 | 27 sdft $install/usr/share/applications/lxqt-config-globalkeyshortcuts.desktop \ |
al@17221 | 28 -i -r "Name[ru_RU]" \ |
al@17221 | 29 -s "Name[ru]=Настройка глобальных сочетаний клавиш LXQt" |
al@16833 | 30 } |
al@16833 | 31 |
al@16833 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@16833 | 33 genpkg_rules() |
al@16833 | 34 { |
al@16833 | 35 mkdir -p $fs/usr/lib $fs/usr/share |
al@16833 | 36 cp -a $install/usr/bin $fs/usr |
al@16833 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@16833 | 38 cp -a $install/usr/share/applications $fs/usr/share |
al@16833 | 39 } |