Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Mar 30th, 2012  |  syntax: Bash  |  size: 1.23 KB  |  views: 6  |  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. # Current Maintainer: Kozec <kozec at kozec dot com>
  2. # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
  3. # Contributor: Simon Lipp <sloonz+aur@gmail.com>
  4. # Prev. Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
  5.  
  6. pkgname=java-jdom
  7. pkgver=1.1.3
  8. pkgrel=1
  9. pkgdesc="XML Parsing Library for Java with contributions and tests"
  10. arch=('any')
  11. url="http://www.jdom.org"
  12. license=('GPL')
  13. depends=('java-runtime')
  14. makedepends=('apache-ant')
  15. source=(http://www.jdom.org/dist/binary/jdom-$pkgver.tar.gz \
  16.         http://www.jdom.org/dist/binary/jdom-contrib-$pkgver.tar.gz \
  17.         http://www.jdom.org/dist/binary/jdom-test-$pkgver.tar.gz \
  18.         )
  19.  
  20. build() {
  21.         [ -e core ] || ln -s jdom core
  22.         for _i in core jdom-contrib jdom-test ; do
  23.                 pushd ${_i}
  24.                 chmod +x build.sh
  25.                 ./build.sh
  26.                 popd
  27.         done
  28. }
  29.  
  30. package() {
  31.         for _i in jdom jdom-test ; do
  32.                 install -D -m755 ${_i}/build/${_i}-${pkgver}.jar \
  33.                         ${pkgdir}/usr/share/java/jdom/${_i}.jar
  34.         done
  35.         for _i in jdom-contrib ; do
  36.                 install -D -m755 ${_i}/build/${_i}-1.1.2-snap.jar \
  37.                         ${pkgdir}/usr/share/java/jdom/${_i}.jar
  38.         done
  39. }
  40.  
  41. md5sums=('dc8391e84cfdb170fcd8279aa370019f'
  42.          'fc4a7afe5acecbfbe7e0f9a48ab085dc'
  43.          'e1720c6c44049ac354c8fa14940b933f')
clone this paste RAW Paste Data