wok view xcursor-comix/receipt @ rev 24304
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 17 11:01:52 2022 +0000 (2022-01-17) |
parents | dc0f7fd1ff7d |
children | bc2b9d9bed6f |
line source
1 # SliTaz package receipt.
3 PACKAGE="xcursor-comix"
4 VERSION="0.9.1"
5 CATEGORY="customization"
6 TAGS="cursor-theme"
7 SHORT_DESC="Comix cursor theme."
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="GPL"
10 WEB_SITE="https://limitland.de/comixcursors"
12 TARBALL="ComixCursors-$VERSION.tar.bz2"
13 WGET_URL="https://limitland.gitlab.io/comixcursors/$TARBALL"
15 DEPENDS="xorg-libXcursor"
16 BUILD_DEPENDS=""
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed '/tar.bz2/!d;s|.*"ComixCursors-Opaque-\([0-9].*\).tar.bz2".*|\1|;q'
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/icons
28 cp -a $src/* $fs/usr/share/icons
29 }