aboutsummaryrefslogtreecommitdiff
path: root/system/autojump/autojump.SlackBuild
diff options
context:
space:
mode:
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 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