moved autojump-git to AUR4 and submodule
This commit is contained in:
parent
83e2ed02f6
commit
9a7b697258
4 changed files with 5 additions and 47 deletions
4
.gitmodules
vendored
4
.gitmodules
vendored
|
@ -2,3 +2,7 @@
|
|||
path = pkgbuild/perl-zabbix2-api
|
||||
url = https://aur@aur4.archlinux.org/perl-zabbix2-api.git
|
||||
pushurl = ssh+git://aur@aur4.archlinux.org/perl-zabbix2-api.git
|
||||
[submodule "pkgbuild/autojump-git"]
|
||||
path = pkgbuild/autojump-git
|
||||
url = https://aur@aur4.archlinux.org/autojump-git.git
|
||||
pushurl = ssh+git://aur@aur4.archlinux.org/autojump-git.git
|
||||
|
|
1
pkgbuild/autojump-git
Submodule
1
pkgbuild/autojump-git
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 78ebd0c1e742d1cf1ac28be9a0728c1004481579
|
|
@ -1,41 +0,0 @@
|
|||
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
||||
# Contributor: Jason Axelson <jason.axelsonATgmail.com>
|
||||
# Contributor: Sean Escriva <sean.escrivaATgmail.com>
|
||||
# Contributor: William Ting <william.h.tingATgmail.com>
|
||||
|
||||
pkgname=autojump-git
|
||||
pkgver=release.v21.6.9.149.g72313db
|
||||
pkgrel=1
|
||||
pkgdesc="A faster way to navigate your filesystem from the command line"
|
||||
arch=(any)
|
||||
url="http://github.com/joelthelion/autojump"
|
||||
license=('GPL3')
|
||||
depends=('bash' 'python')
|
||||
makedepends=('git')
|
||||
conflicts=('autojump')
|
||||
provides=('autojump')
|
||||
replaces=()
|
||||
backup=()
|
||||
source=('git+https://github.com/joelthelion/autojump.git')
|
||||
md5sums=('SKIP')
|
||||
install='install'
|
||||
|
||||
_gitname="autojump"
|
||||
|
||||
pkgver() {
|
||||
cd ${_gitname}
|
||||
git describe --always | sed 's|-|.|g'
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd ${_gitname}
|
||||
sed -i 's$#!/usr/bin/env python$#!/usr/bin/env python2$' bin/autojump bin/*.py
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${_gitname}
|
||||
/usr/bin/env python2 ./install.py --prefix 'usr/' --destdir "${pkgdir}" --zshshare 'usr/share/zsh/site-functions'
|
||||
}
|
||||
|
||||
|
||||
# vim:set ts=4 sw=4 et:
|
|
@ -1,6 +0,0 @@
|
|||
function post_install {
|
||||
echo " > Please add the line to ~/.bashrc :"
|
||||
echo " > [[ -s /etc/profile.d/autojump.bash ]] && . /etc/profile.d/autojump.bash"
|
||||
echo " > Or substitute ~/.zshrc and /etc/profile.d/autojump.zsh"
|
||||
echo " > You need to run 'source ~/.bashrc' before you can start using autojump."
|
||||
}
|
Loading…
Reference in a new issue