wok diff rage/receipt @ rev 22825

Up rage (0.3.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 07 12:27:53 2020 +0100 (2020-02-07)
parents 86790a278e70
children d77b60725297
line diff
     1.1 --- a/rage/receipt	Tue Aug 07 23:03:21 2018 +0200
     1.2 +++ b/rage/receipt	Fri Feb 07 12:27:53 2020 +0100
     1.3 @@ -1,15 +1,14 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="rage"
     1.7 -VERSION="55225"
     1.8 +VERSION="0.3.1"
     1.9  CATEGORY="multimedia"
    1.10  SHORT_DESC="E17 rage media center."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="BSD"
    1.13  WEB_SITE="https://www.enlightenment.org/"
    1.14 -WGET_URL="subversion|http://svn.enlightenment.org/svn/e/trunk/$PACKAGE"
    1.15 -BRANCH="$VERSION"
    1.16 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.18 +WGET_URL="https://download.enlightenment.org/rel/apps/rage/$TARBALL"
    1.19  TAGS="mp3 ogg video e17 audio music"
    1.20  HOST_ARCH="i486 arm"
    1.21  
    1.22 @@ -22,6 +21,12 @@
    1.23  	i?86) BUILD_DEPENDS="$BUILD_DEPENDS subversion autoconf automake" ;;
    1.24  esac
    1.25  
    1.26 +current_version()
    1.27 +{
    1.28 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
    1.29 +	sed '/tar/!d;s|.*"rage-\([0-9\.]*\)\..*|\1|' | tail -n 1
    1.30 +}
    1.31 +
    1.32  # Rules to configure and make the package.
    1.33  compile_rules()
    1.34  {