summaryrefslogtreecommitdiffstats
path: root/network/pentadactyl/pentadactyl.SlackBuild
diff options
context:
space:
mode:
author Benjamin Trigona-Harany <bosth@alumni.sfu.ca>2015-01-17 03:42:51 -0800
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2015-01-18 09:08:51 +0700
commit133e20ac35bef1dd785b3d30378ea01d4502c5b4 (patch)
tree9cd8cbc9773aec56685c98c083677364cb9a77b0 /network/pentadactyl/pentadactyl.SlackBuild
parent809e55bbe25e218455312cdecaab36414a2d8a64 (diff)
downloadslackbuilds-133e20ac35bef1dd785b3d30378ea01d4502c5b4.tar.gz
slackbuilds-133e20ac35bef1dd785b3d30378ea01d4502c5b4.tar.xz
network/pentadactyl: Updated to work with Firefox 35.0.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'network/pentadactyl/pentadactyl.SlackBuild')
-rw-r--r--network/pentadactyl/pentadactyl.SlackBuild5
1 files changed, 3 insertions, 2 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