summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2015-01-17 03:42:51 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-01-18 09:08:51 +0700
commit133e20ac35bef1dd785b3d30378ea01d4502c5b4 (patch)
tree9cd8cbc9773aec56685c98c083677364cb9a77b0
parent809e55bbe25e218455312cdecaab36414a2d8a64 (diff)
downloadslackbuilds-133e20ac35bef1dd785b3d30378ea01d4502c5b4.tar.gz
network/pentadactyl: Updated to work with Firefox 35.0.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
-rw-r--r--network/pentadactyl/pentadactyl.SlackBuild5
-rw-r--r--network/pentadactyl/pentadactyl.info4
2 files changed, 5 insertions, 4 deletions
diff --git a/network/pentadactyl/pentadactyl.SlackBuild b/network/pentadactyl/pentadactyl.SlackBuild
index 500b429c97..a85f05559c 100644
--- a/network/pentadactyl/pentadactyl.SlackBuild
+++ b/network/pentadactyl/pentadactyl.SlackBuild
@@ -25,7 +25,7 @@
SRCNAM=dactyl
PRGNAM=pentadactyl
VERSION=${VERSION:-1.2pre}
-SRCREV=1ab9ca24c320
+SRCREV=59c43695e9ee
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -67,8 +67,9 @@ make -C $PRGNAM xpi
# Get the currently installed Firefox version (handle the case where multiple versions
# are installed by taking the first).
-FIREFOX=${FIREFOX:-`/bin/ls -f -1 -d /usr/lib$LIBDIRSUFFIX/firefox-* | head -n 1 | sed 's/.*firefox-\([0-9.]*\)/\1/'`}
+FIREFOX=`firefox --version | sed "s/[^0-9.]*//"`
EXT_DIR=/usr/lib$LIBDIRSUFFIX/firefox-$FIREFOX/browser/extensions/pentadactyl\@dactyl.googlecode.com
+
mkdir -p "$PKG/$EXT_DIR"
unzip -d "$PKG/$EXT_DIR" downloads/$PRGNAM-$VERSION.xpi
diff --git a/network/pentadactyl/pentadactyl.info b/network/pentadactyl/pentadactyl.info
index 89c503b917..3ab05be55f 100644
--- a/network/pentadactyl/pentadactyl.info
+++ b/network/pentadactyl/pentadactyl.info
@@ -1,8 +1,8 @@
PRGNAM="pentadactyl"
VERSION="1.2pre"
HOMEPAGE="http://5digits.org/pentadactyl"
-DOWNLOAD="http://jaxartes.net/files/dactyl-1ab9ca24c320.zip"
-MD5SUM="801b484b7a9af25cf688c9b822ccda71"
+DOWNLOAD="http://jaxartes.net/files/dactyl-59c43695e9ee.zip"
+MD5SUM="880f72ea52246d7e66cc370f2a2f06d8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""