diff options
Diffstat (limited to 'system/autojump')
-rw-r--r-- | system/autojump/README | 22 | ||||
-rw-r--r-- | system/autojump/autojump.SlackBuild | 18 | ||||
-rw-r--r-- | system/autojump/autojump.info | 8 |
3 files changed, 34 insertions, 14 deletions
diff --git a/system/autojump/README b/system/autojump/README index 96c3829425d9f..31863dd0810d1 100644 --- a/system/autojump/README +++ b/system/autojump/README @@ -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. diff --git a/system/autojump/autojump.SlackBuild b/system/autojump/autojump.SlackBuild index aca089c443d76..f621c3764e3a1 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 diff --git a/system/autojump/autojump.info b/system/autojump/autojump.info index 76e32e4642cd6..b7002142b71b3 100644 --- a/system/autojump/autojump.info +++ b/system/autojump/autojump.info @@ -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="" |