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

PKGBUILD for yEd

By: a guest on Nov 27th, 2010  |  syntax: Bash  |  size: 1.27 KB  |  views: 197  |  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. #Contributor: Sebastian Wolf < sebastian at melonkru dot de >
  2. #Contributor: gost < gostrc at gmail dot com >
  3. #Contributor: Mikolaj Pastuszko <deluminathor@gmail.com>
  4. #Contributor: Stefan Seemayer < mail at semicolonsoftware dot de >
  5. pkgname=yed
  6. pkgver=3.6.1
  7. pkgrel=1
  8. pkgdesc='A very powerful graph editor written in java.'
  9. arch=('i686' 'x86_64')
  10. url='http://www.yworks.com/en/products_yed_about.html'
  11. license='http://www.yworks.com/products/yed/license.html'
  12. depends=('java-runtime')
  13. source=("http://www.yworks.com/products/yed/demo/yEd-${pkgver}.zip"
  14. 'yed.desktop'
  15. 'yed.png'
  16. 'yed')
  17. md5sums=('f79d8cfc9919b00acfdd09b29b47348c'
  18.         '02b93a6704bf599210084caf9be081fa'
  19.         '5e2bb06939816929fb94e34d405eb838'
  20.         'b57b65fa3b23097349dc939f7dccc319')
  21.  
  22. install=$pkgname.install
  23.  
  24. build(){
  25.   # Install jar
  26.   install -Dm644 "$srcdir/yed-$pkgver/yed.jar" "$pkgdir/usr/share/yed/yed.jar"
  27.  
  28.   # Install license
  29.   install -Dm644 "$srcdir/yed-$pkgver/license.html" "$pkgdir/usr/share/licenses/yed/license.html"
  30.  
  31.   # Install icon
  32.   install -Dm644 yed.png "$pkgdir/usr/share/pixmaps/yed.png"
  33.  
  34.   # Install .desktop file
  35.   install -Dm644 yed.desktop "$pkgdir/usr/share/applications/yed.desktop"
  36.  
  37.   # Install run script
  38.   install -Dm755 yed "$pkgdir/usr/bin/yed"
  39. }
clone this paste RAW Paste Data