選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

32 行
907 B

  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. }