You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 rivejä
907 B

15 vuotta sitten
15 vuotta sitten
15 vuotta sitten
15 vuotta sitten
15 vuotta sitten
15 vuotta sitten
15 vuotta sitten
15 vuotta sitten
15 vuotta sitten
15 vuotta sitten
15 vuotta sitten
  1. # Contributor: Joël Schaerer <joel.schaerer@laposte.net>
  2. pkgname=autojump
  3. pkgver=20090210
  4. pkgrel=1
  5. pkgdesc="A faster way to navigate your filesystem from the command line"
  6. arch=(i686)
  7. url="http://wiki.github.com/joelthelion/autojump"
  8. license=('GPL')
  9. depends=('bash' 'python')
  10. md5sums=() #generate with 'makepkg -g'
  11. install=(autojump.install)
  12. _gitroot="git://github.com/joelthelion/autojump.git"
  13. _gitname="autojump"
  14. build() {
  15. cd "$srcdir"
  16. msg "Connecting to GIT server...."
  17. if [ -d $_gitname ] ; then
  18. cd $_gitname && git pull origin || return 1
  19. msg "The local files are updated."
  20. else
  21. git clone $_gitroot && cd $_gitname || return 1
  22. fi
  23. gzip -f autojump.1
  24. msg "GIT checkout done"
  25. install -Dm 755 autojump ${pkgdir}/usr/bin/autojump
  26. install -Dm 755 autojump.sh ${pkgdir}/etc/profile.d/autojump.sh
  27. install -Dm 644 autojump.1.gz ${pkgdir}/usr/share/man/man1/autojump.1.gz
  28. }