24 lines
727 B
Bash
24 lines
727 B
Bash
# Template file for 'autojump'
|
|
pkgname=autojump
|
|
version=22.5.3
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="${pkgname}-release-v${version}"
|
|
hostmakedepends="python"
|
|
depends="python"
|
|
short_desc="Self-learning cd command"
|
|
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/wting/autojump"
|
|
distfiles="https://github.com/wting/autojump/archive/release-v${version}.tar.gz"
|
|
checksum=00daf3698e17ac3ac788d529877c03ee80c3790472a85d0ed063ac3a354c37b1
|
|
|
|
do_install() {
|
|
# The install script does some naive checks
|
|
./install.py -fd ${DESTDIR} -p ${DESTDIR}/usr -z ${DESTDIR}/usr/share/zsh/site-functions/
|
|
}
|
|
|
|
post_install() {
|
|
vsed -i "s:${DESTDIR}::" ${DESTDIR}/etc/profile.d/autojump.sh
|
|
}
|