wok-next rev 21587

updated dex2jar (0.0.9.15 -> 2.0)
author Hans-G?nter Theisgen
date Tue Jun 23 17:51:24 2020 +0100 (2020-06-23)
parents 4e476a28c434
children f2b6c26b0f7f
files dex2jar/receipt
line diff
     1.1 --- a/dex2jar/receipt	Tue Jun 23 17:16:40 2020 +0100
     1.2 +++ b/dex2jar/receipt	Tue Jun 23 17:51:24 2020 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="dex2jar"
     1.7 -VERSION="0.0.9.15"
     1.8 +VERSION="2.0"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Tools to work with android .dex and java .class files"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -11,11 +11,16 @@
    1.13  TARBALL="$PACKAGE-$VERSION.zip"
    1.14  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.15  
    1.16 -genpkg_rules() {
    1.17 -	mkdir -p $fs/usr/share/dex2jar $fs/usr/bin
    1.18 -	cp -a $src/*.sh $src/lib $fs/usr/share/dex2jar
    1.19 -	for i in $(cd $src; ls *.sh); do
    1.20 +genpkg_rules()
    1.21 +{
    1.22 +	mkdir -p $fs/usr/share/dex2jar
    1.23 +	mkdir -p $fs/usr/bin
    1.24 +
    1.25 +	cp -a $src/*.sh	$fs/usr/share/dex2jar
    1.26 +	cp -a $src/lib	$fs/usr/share/dex2jar
    1.27 +	for i in $(cd $src; ls *.sh)
    1.28 +	  do
    1.29  		ln -s /usr/share/dex2jar/$i $fs/usr/bin/$i
    1.30 -	done
    1.31 +	  done
    1.32  	DEPENDS="java-jre"
    1.33  }