Don't like ads? PRO users don't see any ads ;-)
Guest

bibutils PKGBUILD

By: a guest on May 26th, 2010  |  syntax: Bash  |  size: 1.06 KB  |  hits: 189  |  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. # This is an example PKGBUILD file. Use this as a start to creating your own,
  2. # and remove these comments. For more information, see 'man PKGBUILD'.
  3. # NOTE: Please fill out the license field for your package! If it is unknown,
  4. # then please put 'unknown'.
  5.  
  6. # Contributor: Alexander Dunlap <alexander.dunlap at gmail dot com>
  7. pkgname="bibutils"
  8. pkgver="4.9"
  9. pkgrel=2
  10. pkgdesc="Bibliography conversion"
  11. arch=("i686" "x86_64")
  12. url="http://www.scripps.edu/~cdputnam/software/bibutils/"
  13. license=('GPL2')
  14. groups=()
  15. depends=()
  16. makedepends=('tcsh')
  17. install=
  18. source=("http://www.scripps.edu/~cdputnam/software/bibutils/${pkgname}_${pkgver}_src.tgz")
  19. noextract=()
  20. md5sums=('1cc0724b821ae9749b91a267207105dc')
  21.  
  22. build() {
  23.   cd "$srcdir/${pkgname}_$pkgver"
  24.  
  25.   echo $pkgdir
  26.   ./configure || return 1
  27.   make || return 1
  28.   mkdir -p $pkgdir/usr/{lib,bin}
  29.   cp lib/libbibutils.a $pkgdir/usr/lib
  30.   cp bin/{bib2xml,ris2xml,end2xml,endx2xml,med2xml,isi2xml,copac2xml,xml2ads,xml2bib,xml2end,xml2isi,xml2ris,xml2wordbib,modsclean} $pkgdir/usr/bin
  31. }
  32.  
  33. # vim:set ts=2 sw=2 et: