2016-07-16 06:23:34 +02:00
|
|
|
# Template file for 'autojump'
|
|
|
|
pkgname=autojump
|
2017-05-19 03:46:09 +02:00
|
|
|
version=22.5.1
|
2016-07-16 06:23:34 +02:00
|
|
|
revision=1
|
|
|
|
wrksrc=${pkgname}-release-v${version}
|
|
|
|
hostmakedepends="python"
|
|
|
|
depends="python"
|
|
|
|
noarch=yes
|
|
|
|
short_desc="A cd command that learns"
|
2017-07-19 05:11:10 +02:00
|
|
|
maintainer="Michael Aldridge <maldridge@VoidLinux.eu>"
|
2016-07-16 06:23:34 +02:00
|
|
|
license="GPL-3"
|
|
|
|
homepage="https://github.com/wting/autojump"
|
|
|
|
distfiles="https://github.com/wting/autojump/archive/release-v${version}.tar.gz"
|
2017-05-19 03:46:09 +02:00
|
|
|
checksum=765fabda130eb4df70d1c1e5bc172e1d18f8ec22c6b89ff98f1674335292e99f
|
2016-07-16 06:23:34 +02:00
|
|
|
|
|
|
|
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() {
|
|
|
|
sed -i "s:${DESTDIR}::" ${DESTDIR}/etc/profile.d/autojump.sh
|
|
|
|
}
|