wok-6.x view elementaryicons/receipt @ rev 24699
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 13 19:47:29 2022 +0000 (2022-03-13) |
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 }