wok annotate lxqt-appswitcher/receipt @ rev 24376
created recipes for libboost-locale and libboost-locale-dev
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 06 09:40:33 2022 +0100 (2022-02-06) |
parents | 20661c276bcf |
children | 77ec99338524 |
rev | line source |
---|---|
al@16833 | 1 # SliTaz package receipt. |
al@16833 | 2 |
al@16833 | 3 PACKAGE="lxqt-appswitcher" |
al@16833 | 4 VERSION="0.7.0" |
al@17516 | 5 CATEGORY="system-tools" |
al@16833 | 6 SHORT_DESC="The LXQt application switcher" |
al@16833 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@16833 | 8 LICENSE="LGPL2.1" |
pascal@20682 | 9 WEB_SITE="https://github.com/zjes/lxqt-appswitcher" |
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="libQtCore libQtDBus libQtGui libQtXml liblxqt lxqt-globalkeys" |
al@16833 | 15 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake xorg-libX11-dev liblxqt-dev \ |
al@16833 | 16 lxqt-globalkeys-dev libqtxdg-dev " |
al@16833 | 17 |
pascal@24308 | 18 # What is the latest version available today? |
pascal@24308 | 19 current_version() |
pascal@24308 | 20 { |
pascal@24308 | 21 wget -O - $WEB_SITE/tags 2>/dev/null | \ |
pascal@24308 | 22 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' |
pascal@24308 | 23 } |
pascal@24308 | 24 |
al@16833 | 25 # Rules to configure and make the package. |
al@16833 | 26 compile_rules() |
al@16833 | 27 { |
pascal@17517 | 28 sed -i 's|lxqt/LxQt|lxqt/LXQt/|' src/*.h src/*.cpp |
al@16833 | 29 mkdir build; cd build |
al@16833 | 30 cmake -DCMAKE_INSTALL_PREFIX=/usr .. && |
al@16833 | 31 make && |
al@16833 | 32 make DESTDIR=$install install |
al@16833 | 33 } |
al@16833 | 34 |
al@16833 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@16833 | 36 genpkg_rules() |
al@16833 | 37 { |
al@16833 | 38 cp -a $install/* $fs |
al@16833 | 39 } |