summaryrefslogtreecommitdiff
path: root/development/hopper/hopper.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/hopper/hopper.SlackBuild')
-rw-r--r--development/hopper/hopper.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/development/hopper/hopper.SlackBuild b/development/hopper/hopper.SlackBuild
index 0add346943..a3845880da 100644
--- a/development/hopper/hopper.SlackBuild
+++ b/development/hopper/hopper.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=hopper
-VERSION=${VERSION:-3.13.0}
+VERSION=${VERSION:-4.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -47,16 +47,18 @@ fi
set -e
+VN=v${VERSION%%.*}
+
rm -rf $PKG
mkdir -p $PKG $OUTPUT
pushd ${PKG}
-tar xvf $CWD/$PRGNAM-${VERSION}-1-x86_64.pkg.tar.xz
+tar xvf $CWD/Hopper-${VN}-${VERSION}-Linux.pkg.tar.xz
rm -v .{INSTALL,PKGINFO}
mkdir -v usr/doc
-mv -v usr/share/doc/hopper usr/doc/${PRGNAM}-${VERSION}
+mv -v usr/share/doc/hopper${VN} usr/doc/${PRGNAM}-${VERSION}
pushd usr/doc
# create a link as Hopper searches for it's own documentation in /usr/share/doc/hopper
-ln -s ${PRGNAM}-${VERSION} hopper
+ln -s ${PRGNAM}-${VERSION} hopper${VN}
popd
chown -R root:root .
find -L . \
@@ -66,12 +68,11 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
rm -rf $PKG/usr/share/doc
-mv $PKG/usr/lib $PKG/usr/lib64
-sed -i "s|lib|lib64|g" $PKG/usr/bin/hopper-*
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
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}