wok view xflux/receipt @ rev 25524
created recipes for tree-sitter and tree-sitter-dev 0.20.7
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 24 17:21:52 2023 +0100 (21 months ago) |
parents | 23c3aed67cd9 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xflux"
4 VERSION="1.1.8"
5 CATEGORY="x-window"
6 SHORT_DESC="f.lux for X."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://stereopsis.com/flux/linux.html"
11 WGET_URL="git|git://github.com/Kilian/f.lux-indicator-applet.git"
13 DEPENDS=""
14 BUILD_DEPENDS="git bzip2"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/xflux-gui/fluxgui/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin
27 cp -a $src/$PACKAGE $fs/usr/bin
28 }