wok annotate elementaryicons/receipt @ rev 25028

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