This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 24th, 2012  |  syntax: Bash  |  size: 0.90 KB  |  views: 42  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Lucas De Marchi <lucas.de.marchi@gmail.com>
  2. # Contributor: Matthias Meulien orontee@gmail.com
  3.  
  4. pkgname=global
  5. pkgver=6.2.1
  6. pkgrel=1
  7. pkgdesc="A source code tag system"
  8. arch=('i686' 'x86_64')
  9. url="http://www.gnu.org/software/global/"
  10. license=('GPL')
  11. depends=('libltdl')
  12. optdepends=('idutils' 'perl')
  13. options=(!emptydirs)
  14. install=global.install
  15. source=(http://tamacom.com/global/$pkgname-$pkgver.tar.gz)
  16. md5sums=('57e9e546bc708dfa5f20217b96e17e1b')
  17. sha256sums=('db744411a6e0e0391239673a8436cb22f1834dbee3aef420cccaee69c86307a5')
  18.  
  19. build() {
  20.   cd "$srcdir/$pkgname-$pkgver"
  21.   ./configure --prefix=/usr
  22.   make
  23. }
  24.  
  25. check() {
  26.   cd "$srcdir/$pkgname-$pkgver"
  27.   make -k check
  28. }
  29.  
  30. package() {
  31.   cd "$srcdir/$pkgname-$pkgver"
  32.   make DESTDIR="$pkgdir/" install
  33.  
  34.   install -d "$pkgdir/usr/share/emacs/site-lisp"
  35.   ln -s ../../gtags/gtags.el "$pkgdir/usr/share/emacs/site-lisp/gtags.el"
  36. }
clone this paste RAW Paste Data