wok annotate xcursor-comix/receipt @ rev 24614
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 06 21:04:14 2022 +0000 (2022-03-06) |
parents | 1a10044dd144 |
children | 5a92a26adcc1 |
rev | line source |
---|---|
al@18055 | 1 # SliTaz package receipt. |
al@18055 | 2 |
al@18055 | 3 PACKAGE="xcursor-comix" |
Hans-G?nter@22156 | 4 VERSION="0.9.1" |
al@19126 | 5 CATEGORY="customization" |
Hans-G?nter@22156 | 6 TAGS="cursor-theme" |
Hans-G?nter@22156 | 7 SHORT_DESC="Comix cursor theme." |
al@18055 | 8 MAINTAINER="al.bobylev@gmail.com" |
al@18055 | 9 LICENSE="GPL" |
pascal@20891 | 10 WEB_SITE="https://limitland.de/comixcursors" |
Hans-G?nter@22156 | 11 |
al@18055 | 12 TARBALL="ComixCursors-$VERSION.tar.bz2" |
Hans-G?nter@22156 | 13 WGET_URL="https://limitland.gitlab.io/comixcursors/$TARBALL" |
al@18055 | 14 |
al@18055 | 15 DEPENDS="xorg-libXcursor" |
al@18055 | 16 BUILD_DEPENDS="" |
al@18055 | 17 |
pascal@24614 | 18 # What is the latest version available today? |
pascal@24061 | 19 current_version() |
pascal@24061 | 20 { |
pascal@24614 | 21 wget -O - 'https://gitlab.com/limitland/comixcursors/-/tags?sort=updated_desc' 2>/dev/null | \ |
pascal@24614 | 22 sed '/item-title/!d;s|.*">[a-z-]*||;s|<.*||;q' |
pascal@24061 | 23 } |
pascal@24061 | 24 |
al@18055 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18055 | 26 genpkg_rules() |
al@18055 | 27 { |
al@18055 | 28 mkdir -p $fs/usr/share/icons |
al@18055 | 29 cp -a $src/* $fs/usr/share/icons |
al@18055 | 30 } |