wok annotate rox-filer-locales/receipt @ rev 24348

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 02 18:01:43 2022 +0000 (2022-02-02)
parents 394b8ad81c95
children b0069c845544
rev   line source
sygne@999 1 # SliTaz package receipt.
sygne@999 2
sygne@999 3 PACKAGE="rox-filer-locales"
Hans-G?nter@21845 4 VERSION="2.11"
al@19175 5 CATEGORY="localization"
sygne@999 6 SHORT_DESC="locales for the rox-filer."
sygne@999 7 MAINTAINER="sygne@ombres.eu"
pascal@15600 8 LICENSE="GPL2"
Hans-G?nter@21845 9 WEB_SITE="http://rox.sourceforge.net/desktop/ROX-Filer"
Hans-G?nter@21845 10
sygne@999 11 SOURCE="rox-filer"
sygne@999 12 TARBALL="$SOURCE-$VERSION.tar.bz2"
Hans-G?nter@21845 13 WGET_URL="$SF_MIRROR/rox/$TARBALL"
sygne@999 14
Hans-G?nter@21845 15 WANTED="rox-filer"
pascal@15600 16 BUILD_DEPENDS=""
pascal@15600 17
pascal@24348 18 # What is the latest version available today?
pascal@24348 19 current_version()
pascal@24348 20 {
pascal@24348 21 wget -O - https://sourceforge.net/projects/rox/files/rox/ 2>/dev/null | \
pascal@24348 22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|' | sort -Vr | sed q | xargs wget -O - 2>/dev/null | \
pascal@24348 23 sed '/scope="row/!d;s|.*/rox/||;s|/.*||;q'
pascal@24348 24 }
pascal@24348 25
sygne@999 26 # Rules to configure and make the package.
sygne@999 27 compile_rules()
sygne@999 28 {
sygne@999 29
pascal@15600 30 mkdir -p $DESTDIR
pascal@15600 31 cp -r $src/ROX-Filer/Messages $DESTDIR/
sygne@999 32
sygne@999 33 }
sygne@999 34
sygne@999 35 # Rules to gen a SliTaz package suitable for Tazpkg.
sygne@999 36 genpkg_rules()
sygne@999 37 {
sygne@999 38 mkdir -p $fs/usr/share/rox-filer
pascal@15600 39 cp -r $install/* $fs/usr/share/rox-filer/
sygne@999 40
slaxemulator@9537 41 strip -s $fs/usr/share/rox-filer/* || true
sygne@999 42 }
Hans-G?nter@21846 43