wok view xcursor-aero/receipt @ rev 25580

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 20 07:58:44 2023 +0000 (12 months ago)
parents 5a92a26adcc1
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xcursor-aero"
4 GITHASH="7234f9883d5d7ba2b79379b90ee99f3b1480a3b4" # 20190710
5 VERSION="0.2"
6 CATEGORY="customization"
7 SHORT_DESC="Aero cursor theme"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="GPL"
10 WEB_SITE="https://www.gnome-look.org/p/999972/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/Infinality/mouse-cursors/raw/$GITHASH/aero.tar.gz"
13 TAGS="cursor-theme"
15 DEPENDS="xorg-libXcursor"
16 BUILD_DEPENDS=""
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/Infinality/mouse-cursors/commits/master 2>/dev/null | \
22 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share/icons/aero
29 cp -a $src/* $fs/usr/share/icons/aero
30 }