wok-6.x annotate xflux/receipt @ rev 24782
Up alpine (2.25)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 20 12:08:15 2022 +0000 (2022-03-20) |
parents | 23c3aed67cd9 |
children |
rev | line source |
---|---|
pascal@13591 | 1 # SliTaz package receipt. |
pascal@13591 | 2 |
pascal@13591 | 3 PACKAGE="xflux" |
pascal@13591 | 4 VERSION="1.1.8" |
pascal@13591 | 5 CATEGORY="x-window" |
pascal@13591 | 6 SHORT_DESC="f.lux for X." |
pascal@13591 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15601 | 8 LICENSE="MIT" |
pascal@13591 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@13591 | 10 WEB_SITE="http://stereopsis.com/flux/linux.html" |
pascal@13591 | 11 WGET_URL="git|git://github.com/Kilian/f.lux-indicator-applet.git" |
pascal@13591 | 12 |
pascal@15601 | 13 DEPENDS="" |
pascal@15601 | 14 BUILD_DEPENDS="git bzip2" |
pascal@15601 | 15 |
pascal@24304 | 16 # What is the latest version available today? |
pascal@24304 | 17 current_version() |
pascal@24304 | 18 { |
pascal@24304 | 19 wget -O - https://github.com/xflux-gui/fluxgui/tags 2>/dev/null | \ |
pascal@24304 | 20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' |
pascal@24304 | 21 } |
pascal@24304 | 22 |
pascal@13591 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13591 | 24 genpkg_rules() |
pascal@13591 | 25 { |
pascal@13591 | 26 mkdir -p $fs/usr/bin |
pascal@13591 | 27 cp -a $src/$PACKAGE $fs/usr/bin |
pascal@13591 | 28 } |
pascal@13591 | 29 |