This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

AUR (PKGBUILD) - yED 3.9.2

By: aliasbody on May 8th, 2012  |  syntax: None  |  size: 1.34 KB  |  views: 92  |  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. #Contributor: Gordin < 9ordin @t gmail dot com >
  6. pkgname=yed
  7. pkgver=3.9.2
  8. pkgrel=1
  9. pkgdesc='A very powerful graph editor written in java.'
  10. arch=('i686' 'x86_64')
  11. url='http://www.yworks.com/en/products_yed_about.html'
  12. license='http://www.yworks.com/products/yed/license.html'
  13. depends=('java-runtime')
  14. source=("http://www.yworks.com/products/yed/demo/yEd-$pkgver.zip"
  15.         'yed.desktop'
  16.         'yed.png'
  17.         'yed')
  18. md5sums=('f59b9f5aa16e4dc5835d1677d7ec7c5f'
  19.          '02b93a6704bf599210084caf9be081fa'
  20.          '5e2bb06939816929fb94e34d405eb838'
  21.          'a97c691e7dbe4fe05db971b33c0c4de4')
  22.  
  23. install=$pkgname.install
  24.  
  25. build(){
  26.   # Install jar
  27.   install -Dm644 "$srcdir/yed-$pkgver/yed.jar" "$pkgdir/usr/share/yed/yed.jar"
  28.  
  29.   # Install license
  30.   install -Dm644 "$srcdir/yed-$pkgver/license.html" "$pkgdir/usr/share/licenses/yed/license.html"
  31.  
  32.   # Install icon
  33.   install -Dm644 yed.png "$pkgdir/usr/share/pixmaps/yed.png"
  34.  
  35.   # Install .desktop file
  36.   install -Dm644 yed.desktop "$pkgdir/usr/share/applications/yed.desktop"
  37.  
  38.   # Install run script
  39.   install -Dm755 yed "$pkgdir/usr/bin/yed"
  40. }
clone this paste RAW Paste Data