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