summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorpyllyukko <pyllyukko AT maimed dot org>2017-05-30 22:38:13 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2017-05-31 00:14:58 +0100
commit02f488298b4d93e844c99fbd05a8f1012d45a67a (patch)
treeb0578e23222435169ed0c3db2ebfcc559fd16147 /development
parent0febf371897b2f2dcf83e3bf48806ecc45866681 (diff)
downloadslackbuilds-02f488298b4d93e844c99fbd05a8f1012d45a67a.tar.gz
development/hopper: Updated for version 4.2.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/hopper/doinst.sh9
-rw-r--r--development/hopper/hopper.SlackBuild13
-rw-r--r--development/hopper/hopper.info8
-rw-r--r--development/hopper/slack-desc2
4 files changed, 21 insertions, 11 deletions
diff --git a/development/hopper/doinst.sh b/development/hopper/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/development/hopper/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
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}
diff --git a/development/hopper/hopper.info b/development/hopper/hopper.info
index 61149cd418..9690b2a651 100644
--- a/development/hopper/hopper.info
+++ b/development/hopper/hopper.info
@@ -1,10 +1,10 @@
PRGNAM="hopper"
-VERSION="3.13.0"
+VERSION="4.2.2"
HOMEPAGE="https://www.hopperapp.com"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://d1f8bh81yd16yv.cloudfront.net/hopper-3.13.0-1-x86_64.pkg.tar.xz"
-MD5SUM_x86_64="29a8515395f5291259273e273f5fb463"
-REQUIRES="qt5 avahi"
+DOWNLOAD_x86_64="https://d2ap6ypl1xbe4k.cloudfront.net/Hopper-v4-4.2.2-Linux.pkg.tar.xz"
+MD5SUM_x86_64="3fa19c50f6195cd29282084f456e6466"
+REQUIRES="qt5 libbsd"
MAINTAINER="pyllyukko"
EMAIL="pyllyukko AT maimed dot org"
diff --git a/development/hopper/slack-desc b/development/hopper/slack-desc
index b41298ea93..8f8b9b6fec 100644
--- a/development/hopper/slack-desc
+++ b/development/hopper/slack-desc
@@ -15,5 +15,5 @@ hopper:
hopper:
hopper:
hopper:
-hopper: Homepage: http://www.hopperapp.com
+hopper: Homepage: https://www.hopperapp.com
hopper: