SHARE
TWEET

PathVisio 3.1.2 PKGBUILD

a guest Jan 3rd, 2014 39 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Michael Schubert <mschu.dev at gmail>
  2.  
  3. pkgname=pathvisio
  4. pkgver=3.1.2
  5. _pkgver=r3950
  6. pkgrel=1
  7. pkgdesc='Pathway visualization tool'
  8. arch=('any')
  9. url=('http://www.pathvisio.org/')
  10. license=('Apache')
  11. depends=('java-runtime')
  12. source=("http://www.pathvisio.org/data/releases/3.1.2/pathvisio_bin-$pkgver-$_pkgver.zip")
  13. md5sums=('941c211a716dd99f8e4bf185400d6c2a')
  14.  
  15. package() {
  16.     cd "$srcdir/$pkgname-$pkgver"
  17.     install -Dm644 pathvisio.jar "$pkgdir/usr/share/java/pathvisio/pathvisio.jar"
  18.     install -Dm644 NOTICE.txt "$pkgdir/usr/share/licenses/pathvisio/NOTICE.txt"
  19.     install -dm755 "$pkgdir/usr/bin"
  20.     cat > "$pkgdir/usr/bin/pathvisio" <<EOF
  21. #!/bin/sh
  22. cd /usr/share/java/pathvisio
  23. java -jar pathvisio.jar "\$@"
  24. EOF
  25.     chmod 755 "$pkgdir/usr/bin/pathvisio"
  26. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top