diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2012-09-29 16:01:05 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-29 17:17:42 -0500 |
commit | ec8897b13f7e9ef53c62d6e18fb1715baeef0aa1 (patch) | |
tree | f535e54db45051143f551bd522ff45e2507f35bf /development/jeex/jeex.SlackBuild | |
parent | 3f6f553556dc1be8c732a41dad438f5d89dfdbac (diff) | |
download | slackbuilds-ec8897b13f7e9ef53c62d6e18fb1715baeef0aa1.tar.gz |
development/jeex: Fixed (Don't clobber config, handle desktop file)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'development/jeex/jeex.SlackBuild')
-rw-r--r-- | development/jeex/jeex.SlackBuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/development/jeex/jeex.SlackBuild b/development/jeex/jeex.SlackBuild index 757fac00f0..0cc1e697c1 100644 --- a/development/jeex/jeex.SlackBuild +++ b/development/jeex/jeex.SlackBuild @@ -6,15 +6,13 @@ PRGNAM=jeex VERSION=${VERSION:-12.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} 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 @@ -56,6 +54,10 @@ find . \ make make install destdir=$PKG +mv $PKG/etc/jeex/magic.binary $PKG/etc/jeex/magic.binary.new +mv $PKG/etc/jeex/jeex.rc $PKG/etc/jeex/jeex.rc.new +mv $PKG/etc/jeex/magic.text $PKG/etc/jeex/magic.text.new + find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -66,6 +68,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |