get-scripts view apk-studio @ rev 69

palemoon: fix VERSION
author Richard Dunbar <mojo@slitaz.org>
date Fri Jun 16 02:55:30 2017 -0400 (2017-06-16)
parents 2cdf3e534506
children
line source
1 SHORT_DESC="Android revese-engineering"
2 WEB_SITE="https://apkstudio.codeplex.com/"
3 CATEGORY="development"
4 VERSION="2.0.3b"
5 LICENSE="CDDL"
6 # end of get.list data
7 TARBALL="apkstudio-$VERSION-ubuntu-linux.tar.bz2"
8 WGET_URL="http://download-codeplex.sec.s-msft.com/Download/Release?ProjectName=apkstudio&DownloadId=909467&FileTime=130554250225130000&Build=20941"
9 BUILD_DEPENDS="wget"
11 wget --no-check-certificate -O $TARBALL "$WGET_URL"
12 [ -f $TARBALL ] || abort_package
14 mkdir -p $PACKAGE-$VERSION/fs/usr/share/$PACKAGE $PACKAGE-$VERSION/fs/usr/bin
15 tar xjf $TARBALL -C $PACKAGE-$VERSION/fs/usr/share/$PACKAGE
16 cat > $PACKAGE-$SOURCE/fs/usr/bin/apkstudio <<EOT
17 #!/bin/sh
19 APKSTUDIO_DIRECTORY=/usr/share/$PACKAGE
20 APKSTUDIO_BINARY=$PACKAGE
21 export LD_LIBRARY_PATH=\$APKSTUDIO_DIRECTORY
22 export QT_QPA_PLATFORM_PLUGIN_PATH=\$APKSTUDIO_DIRECTORY/platforms
23 \$APKSTUDIO_DIRECTORY/\$APKSTUDIO_BINARY "\$@" -style gtk+
24 EOT
25 chmod +x $PACKAGE-$SOURCE/fs/usr/bin/apkstudio