summaryrefslogtreecommitdiff
path: root/system/autojump/autojump.SlackBuild
diff options
context:
space:
mode:
authorBrenton Earl <brent@exitstatusone.com>2015-11-07 10:21:45 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-07 10:21:45 +0700
commit4fc2797e471453fdcb10976ba55e7ddf93bc0cd2 (patch)
tree09da052fc6b77c4336b83a7c59de60dd794ae93e /system/autojump/autojump.SlackBuild
parent0dc5deef431bcdc27c8f26afc21866c4a5fe2cb5 (diff)
downloadslackbuilds-4fc2797e471453fdcb10976ba55e7ddf93bc0cd2.tar.gz
system/autojump: Updated for version 22.2.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/autojump/autojump.SlackBuild')
-rw-r--r--system/autojump/autojump.SlackBuild18
1 files changed, 9 insertions, 9 deletions
diff --git a/system/autojump/autojump.SlackBuild b/system/autojump/autojump.SlackBuild
index aca089c443..f621c3764e 100644
--- a/system/autojump/autojump.SlackBuild
+++ b/system/autojump/autojump.SlackBuild
@@ -26,7 +26,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=autojump
-VERSION=${VERSION:-21.1.2}
+VERSION=${VERSION:-22.2.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -42,9 +42,9 @@ set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf ${PRGNAM}_v${VERSION}
-tar xvf $CWD/${PRGNAM}_v${VERSION}.tar.gz
-cd ${PRGNAM}_v${VERSION}
+rm -rf ${PRGNAM}-release-v${VERSION}
+tar xvf $CWD/release-v${VERSION}.tar.gz
+cd ${PRGNAM}-release-v${VERSION}
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -53,21 +53,21 @@ find -L . \
-exec chmod 644 {} \;
install -Dm755 bin/autojump $PKG/usr/bin/autojump
-install -Dm755 bin/jumpapplet $PKG/usr/bin/jumpapplet
+install -Dm755 bin/autojump_argparse.py $PKG/usr/bin/autojump_argparse.py
+install -Dm755 bin/autojump_data.py $PKG/usr/bin/autojump_data.py
+install -Dm755 bin/autojump_utils.py $PKG/usr/bin/autojump_utils.py
install -Dm755 bin/$PRGNAM.bash $PKG/etc/profile.d/$PRGNAM.bash
install -Dm755 bin/$PRGNAM.sh $PKG/etc/profile.d/$PRGNAM.sh
install -Dm755 bin/$PRGNAM.zsh $PKG/etc/profile.d/$PRGNAM.zsh
+install -Dm755 bin/$PRGNAM.fish $PKG/etc/profile.d/$PRGNAM.fish
install -Dm644 bin/_j $PKG/usr/share/zsh/site-functions/_j
install -Dm644 bin/icon.png $PKG/usr/share/$PRGNAM/icon.png
install -Dm644 docs/$PRGNAM.1 $PKG/usr/man/man1/$PRGNAM.1
find $PKG/usr/man -type f -exec gzip -9 {} \;
-# Seems like jumpapplet was changed for compliance with Arch
-sed -i 's/python2/python/' $PKG/usr/bin/jumpapplet
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS CHANGES.md LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install