get-scripts rev 27
apk-studio, jad, jd-gui, rpix86: fix path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 20 16:02:03 2014 +0100 (2014-11-20) |
parents | 34ec09ef65ca |
children | 48c3ef68bd4f |
files | apk-studio jad jd-gui rpix86 |
line diff
1.1 --- a/apk-studio Wed Nov 19 13:55:21 2014 +0100 1.2 +++ b/apk-studio Thu Nov 20 16:02:03 2014 +0100 1.3 @@ -10,9 +10,9 @@ 1.4 wget --no-check-certificate -O $TARBALL "$WGET_URL" 1.5 [ -f $TARBALL ] || abort_package "Could not download $TARBALL from $URL. Exiting." 1.6 1.7 -mkdir -p $PACKAGE-$VERSION/usr/share/$PACKAGE $PACKAGE-$VERSION/usr/bin 1.8 -tar xjf $TARBALL -C $PACKAGE-$VERSION/usr/share/$PACKAGE 1.9 -cat > $PACKAGE-$SOURCE/usr/bin/apkstudio <<EOT 1.10 +mkdir -p $PACKAGE-$VERSION/fs/usr/share/$PACKAGE $PACKAGE-$VERSION/fs/usr/bin 1.11 +tar xjf $TARBALL -C $PACKAGE-$VERSION/fs/usr/share/$PACKAGE 1.12 +cat > $PACKAGE-$SOURCE/fs/usr/bin/apkstudio <<EOT 1.13 #!/bin/sh 1.14 1.15 APKSTUDIO_DIRECTORY=/usr/share/$PACKAGE 1.16 @@ -21,6 +21,6 @@ 1.17 export QT_QPA_PLATFORM_PLUGIN_PATH=\$APKSTUDIO_DIRECTORY/platforms 1.18 \$APKSTUDIO_DIRECTORY/\$APKSTUDIO_BINARY "\$@" -style gtk+ 1.19 EOT 1.20 -chmod +x $PACKAGE-$SOURCE/usr/bin/apkstudio 1.21 +chmod +x $PACKAGE-$SOURCE/fs/usr/bin/apkstudio 1.22 1.23 set +e
2.1 --- a/jad Wed Nov 19 13:55:21 2014 +0100 2.2 +++ b/jad Thu Nov 20 16:02:03 2014 +0100 2.3 @@ -10,7 +10,8 @@ 2.4 wget -c --no-check-certificate -O $TARBALL $WGET_URL 2.5 [ -f $TARBALL ] || abort_package "Could not download $TARBALL from $URL. Exiting." 2.6 2.7 -mkdir -p $PACKAGE-$SOURCE/usr/bin 2.8 -mv $TARBALL $PACKAGE-$SOURCE/usr/bin 2.9 +chmod +x $TARBALL 2.10 +mkdir -p $PACKAGE-$VERSION/fs/usr/bin 2.11 +mv $TARBALL $PACKAGE-$VERSION/fs/usr/bin 2.12 2.13 set +e
3.1 --- a/jd-gui Wed Nov 19 13:55:21 2014 +0100 3.2 +++ b/jd-gui Thu Nov 20 16:02:03 2014 +0100 3.3 @@ -8,7 +8,7 @@ 3.4 [ -f $TARBALL ] || abort_package "Could not download $TARBALL from $URL. Exiting." 3.5 3.6 tar xzf $TARBALL 3.7 -mkdir -p $PACKAGE-$SOURCE/usr/bin 3.8 -mv $PACKAGE $PACKAGE-$SOURCE/usr/bin 3.9 +mkdir -p $PACKAGE-$VERSION/fs/usr/bin 3.10 +mv $PACKAGE $PACKAGE-$VERSION/fs/usr/bin 3.11 3.12 set +e
4.1 --- a/rpix86 Wed Nov 19 13:55:21 2014 +0100 4.2 +++ b/rpix86 Thu Nov 20 16:02:03 2014 +0100 4.3 @@ -10,7 +10,8 @@ 4.4 tar xzf $TARBALL 4.5 VERSION=$(strings rpix86 | sed '/aspberry/!d;s/.*v *//;s/ .*//') 4.6 4.7 -mkdir -p $PACKAGE-$SOURCE/usr/bin 4.8 -mv rpix86 $PACKAGE-$SOURCE/usr/bin 4.9 +chmod +x rpix86 4.10 +mkdir -p $PACKAGE-$VERSION/fs/usr/bin 4.11 +mv rpix86 $PACKAGE-$VERSION/fs/usr/bin 4.12 4.13 set +e