diff options
Diffstat (limited to 'academic/jpicedt/jpicedt.SlackBuild')
-rw-r--r-- | academic/jpicedt/jpicedt.SlackBuild | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/academic/jpicedt/jpicedt.SlackBuild b/academic/jpicedt/jpicedt.SlackBuild index 6fe0021b7cb8..66402404c93c 100644 --- a/academic/jpicedt/jpicedt.SlackBuild +++ b/academic/jpicedt/jpicedt.SlackBuild @@ -25,12 +25,10 @@ VERSION=${VERSION:-1.4.1_03} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -57,10 +55,10 @@ fi set -e rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT +mkdir -p $TMP $PKG $OUTPUT -mkdir -p $PKG/opt/$PRGNAM-$VERSION -unzip $CWD/jpicedt-install_1_4_1_03_20071021.jar -d $PKG/opt/$PRGNAM-$VERSION +mkdir -p $PKG/opt/$PRGNAM-$VERSION +unzip $CWD/jpicedt-install_1_4_1_03_20071021.jar -d $PKG/opt/$PRGNAM-$VERSION # Add a convenience symlink to keep path simple ( cd $PKG/opt ; ln -s $PRGNAM-$VERSION $PRGNAM ) @@ -76,8 +74,8 @@ rm -rf $PKG/opt/$PRGNAM-$VERSION/{META-INF,installer,add-ons/windows} mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION ( cd $PKG/usr/doc/$PRGNAM-$VERSION for doc in \ - COPYING.txt quickstart.html readme.html api-doc help-files add-ons ; - do ln -s $PKG/opt/$PRGNAM-$VERSION/$doc . ; + COPYING.txt quickstart.html readme.html api-doc help-files add-ons ; + do ln -s $PKG/opt/$PRGNAM-$VERSION/$doc . ; done ) |