wok-current view 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 |
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="http://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|.*href="|"https://sourceforge.net|' | 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 }