wok view elementaryicons/receipt @ rev 24434
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 12 19:02:42 2022 +0000 (2022-02-12) |
parents | 40fab26c175d |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="elementaryicons"
4 VERSION="3.1"
5 CATEGORY="customization"
6 SHORT_DESC="Smooth modern theme designed to be intuitive"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://launchpad.net/elementaryicons"
10 TARBALL="$PACKAGE$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/${VERSION%%.*}.x/$VERSION/+download/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS="wget cacerts"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed '/Latest version is/!d;s|.*is ||'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 mkdir -p $install/usr/share/icons/elementary
27 cp -a $src/* $install/usr/share/icons/elementary
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/* $fs
34 }