desktop/sun: Update script.

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2015-06-23 02:45:59 +03:00 committed by Willy Sudiarto Raharjo
parent 8afd909079
commit ae3c03bb1b

View file

@ -24,7 +24,7 @@
PRGNAM=sun
VERSION=${VERSION:-1.1.0}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@ -82,7 +82,7 @@ mkdir -p $PKG/etc/$PRGNAM $PKG/etc/rc.d/
install -D -m0644 conf/${PRGNAM}.conf $PKG/etc/$PRGNAM/${PRGNAM}.conf.new
install -D -m0644 conf/mirrors $PKG/etc/$PRGNAM/mirrors
# install rc file
install -D -m0644 conf/rc.${PRGNAM} $PKG/etc/rc.d/rc.${PRGNAM}
install -D -m0644 conf/rc.${PRGNAM} $PKG/etc/rc.d/rc.${PRGNAM}.new
# install notify icon and .desktop file
mkdir -p $PKG/usr/share/pixmaps $PKG/usr/share/applications