wok-6.x view lxde-icon-theme/receipt @ rev 24071
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 07 10:35:01 2021 +0000 (2021-07-07) |
parents | f785404cbaa7 |
children | 232ba43d30af |
line source
1 # SliTaz package receipt.
3 PACKAGE="lxde-icon-theme"
4 VERSION="0.5.1"
5 CATEGORY="customization"
6 SHORT_DESC="LXDE standard icon theme"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL3"
9 WEB_SITE="https://wiki.lxde.org/en/LXPanel"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
12 TAGS="LXDE"
14 DEPENDS=""
15 BUILD_DEPENDS="coreutils"
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/lxde/files/LXDE%20Icon%20Theme/ 2>/dev/null | \
20 sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\)\" .*|\\1|;q"
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure $CONFIGURE_ARGS && make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/* $fs
33 }