PKGBUILD 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # Maintainer: Jordan Brown <mrhmouse@gmail.com>
  2. pkgname=readable-git
  3. pkgver=20160310
  4. pkgrel=1
  5. pkgdesc="Readable s-expressions for Lisp and Scheme (t-expressions)."
  6. arch=('i686' 'x86_64' 'armv6h')
  7. url="http://sourceforge.net/projects/readable/"
  8. license=('MIT')
  9. md5sums=()
  10. depends=()
  11. makedepends=('git' 'python' 'autoconf' 'automake' 'guile')
  12. provides=('curly-guile'
  13. 'neoteric-guile'
  14. 'sweet-guile'
  15. 'unsweeten'
  16. 'diff-s-sweet'
  17. 'sweeten'
  18. 'sweet-run')
  19. conflicts=()
  20. _gitroot='git://git.code.sf.net/p/readable/code'
  21. _gitname='readable'
  22. build() {
  23. cd "$srcdir"
  24. msg "Connecting to GIT server...."
  25. if [[ -d "$_gitname" ]]; then
  26. cd "$_gitname" && git pull origin
  27. msg "The local files are updated."
  28. else
  29. git clone "$_gitroot" "$_gitname"
  30. fi
  31. msg "GIT checkout done or server timeout"
  32. msg "Starting build..."
  33. cd "$_gitname"
  34. autoreconf -i
  35. ./configure --prefix=/usr
  36. make
  37. }
  38. package() {
  39. cd "$srcdir/$_gitname"
  40. make DESTDIR="$pkgdir/" install
  41. }
  42. # vim:set ts=2 sw=2 et: