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

erm archlinux aur PKGBUILD

By: a guest on Dec 16th, 2010  |  syntax: Bash  |  size: 0.79 KB  |  views: 38  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Contributor: Jakub Fiser AKA mr.MikyMaus <mr@MikyMaus.org>
  2. pkgname=erm
  3. pkgver=4.23
  4. pkgrel=3
  5. pkgdesc="An ER Modeller written in Java. used for teaching at CVUT FEL, Prague"
  6. arch=('i686' 'x86_64')
  7. url="http://service.felk.cvut.cz/courses/Y36DBS"
  8. license=('unknown')
  9. depends=('java-runtime')
  10. makedepends=('unzip')
  11. source=("http://service.felk.cvut.cz/courses/Y36DBS/additions/$pkgname-$pkgver.zip")
  12. noextract=("$pkgname-$pkgver.zip")
  13. md5sums=('9ab7140acfed08a5648067af248823c9')
  14.  
  15. build() {
  16. cd "${srcdir}"
  17. unzip "$pkgname-$pkgver.zip"
  18. mkdir -p "${pkgdir}/opt" "${pkgdir}/usr/bin"
  19. mv "$pkgname-$pkgver" "${pkgdir}/opt/$pkgname"
  20. echo -e '#!/bin/sh \n\n java -jar /opt/erm/erm.jar "$@" \n exit "$?"' > "${pkgdir}/usr/bin/erm"
  21. chmod 755 "${pkgdir}/usr/bin/erm"
  22. }
  23.  
  24. # vim:set ts=2 sw=2 et:
clone this paste RAW Paste Data