mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
system/autojump: Updated for version 22.2.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
0dc5deef43
commit
4fc2797e47
3 changed files with 34 additions and 14 deletions
|
@ -4,4 +4,24 @@ command line. The jumpstat command shows you the current contents
|
|||
of the database. You need to work a little bit before the database
|
||||
becomes usable. Autojump will listen and rank your 'cd' commands by
|
||||
frequency. Once your database is reasonably complete, you can "jump"
|
||||
to a commonly "cd"ed directory.
|
||||
to a commonly "cd"ed directory. It supports the bash, zsh, and
|
||||
tcsh shells.
|
||||
|
||||
Installation
|
||||
------------
|
||||
|
||||
Add the following to your .bashrc so that autojump commands will
|
||||
be recognized:
|
||||
|
||||
source /etc/profile.d/autojump.bash
|
||||
|
||||
Next, open a new shell and execute:
|
||||
|
||||
$ cd /tmp
|
||||
$ cd /home
|
||||
$ cd /var
|
||||
$ j tmp
|
||||
|
||||
You should be dropped back into the /tmp directory. You can activate
|
||||
autojump for other shells by changing the sourced file extension to
|
||||
a supported shell name.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="autojump"
|
||||
VERSION="21.1.2"
|
||||
HOMEPAGE="https://github.com/joelthelion/autojump/wiki"
|
||||
DOWNLOAD="https://github.com/downloads/joelthelion/autojump/autojump_v21.1.2.tar.gz"
|
||||
MD5SUM="9b6dba043774db140434e18988fa9220"
|
||||
VERSION="22.2.4"
|
||||
HOMEPAGE="https://github.com/wting/autojump"
|
||||
DOWNLOAD="https://github.com/wting/autojump/archive/release-v22.2.4.tar.gz"
|
||||
MD5SUM="136fc755090496b29bf664ffdf706d53"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue