From 133e20ac35bef1dd785b3d30378ea01d4502c5b4 Mon Sep 17 00:00:00 2001 From: Benjamin Trigona-Harany Date: Sat, 17 Jan 2015 03:42:51 -0800 Subject: network/pentadactyl: Updated to work with Firefox 35.0. Signed-off-by: Benjamin Trigona-Harany --- network/pentadactyl/pentadactyl.SlackBuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'network/pentadactyl/pentadactyl.SlackBuild') diff --git a/network/pentadactyl/pentadactyl.SlackBuild b/network/pentadactyl/pentadactyl.SlackBuild index 500b429c975b..a85f05559cdf 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 -- cgit v1.2.3