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

Untitled

By: R00KIE on Oct 18th, 2012  |  syntax: Diff  |  size: 2.23 KB  |  views: 44  |  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. diff -ur eagle_/eagle.desktop eagle/eagle.desktop
  2. --- eagle_/eagle.desktop        2012-10-17 22:14:54.000000000 +0100
  3. +++ eagle/eagle.desktop 2012-10-18 11:13:52.670372198 +0100
  4. @@ -2,7 +2,6 @@
  5.  Version=1.0
  6.  Type=Application
  7.  Name=EAGLE Light Edition
  8. -TryExec=/usr/bin/eagle
  9.  Exec=eagle
  10. -Icon=/opt/eagle/bin/eagleicon16.png
  11. +Icon=eagle
  12.  Categories=Development;
  13. diff -ur eagle_/eagle.sh eagle/eagle.sh
  14. --- eagle_/eagle.sh     2012-10-17 22:31:04.000000000 +0100
  15. +++ eagle/eagle.sh      2012-10-18 11:11:05.116195790 +0100
  16. @@ -2,6 +2,6 @@
  17.  
  18.  LOCAL_DIR="$HOME"/.eagle
  19.  mkdir -p "$LOCAL_DIR"
  20. -cp -aru /opt/eagle/* "$LOCAL_DIR"
  21. +cp -au /opt/eagle/* "$LOCAL_DIR"
  22.  
  23. -exec "$LOCAL_DIR"/bin/eagle "$@"
  24. +"$LOCAL_DIR"/bin/eagle "$@"
  25. diff -ur eagle_/PKGBUILD eagle/PKGBUILD
  26. --- eagle_/PKGBUILD     2012-10-17 22:39:10.000000000 +0100
  27. +++ eagle/PKGBUILD      2012-10-18 11:22:28.013156616 +0100
  28. @@ -1,6 +1,6 @@
  29.  pkgname=eagle
  30.  pkgver=6.3.0
  31. -pkgrel=4
  32. +pkgrel=5
  33.  pkgdesc="A powerful suite for schematic capture and printed circuit board design (aka eaglecad)"
  34.  arch=('i686' 'x86_64')
  35.  url="http://www.cadsoft.de/"
  36. @@ -15,8 +15,10 @@
  37.    $pkgname.desktop
  38.    $pkgname.sh)
  39.  md5sums=('661defb4ae9531e829a96c9aaaa16b0e'
  40. -         '2f1a9361e7eb0c4eb3ff458ac9e2a906'
  41. -         'c6ab1922cd76bae647a20eadfc97ded2')
  42. +         '2307a6a118ae85fe01c6b62350932b48'
  43. +         '07e0982a52f5076adb442613e2f2a110')
  44. +
  45. +PKGEXT='.pkg.tar'
  46.  
  47.  build() {
  48.    cd "$srcdir"
  49. @@ -26,11 +28,14 @@
  50.  
  51.    msg2 "Running installation script (this may take a while)..."
  52.    sh $pkgname-lin-$pkgver.run "$pkgdir/opt" > /dev/null
  53. -  ln -sf /opt/$pkgname-$pkgver "$pkgdir/opt/$pkgname"
  54. +  mv "$pkgdir/opt/$pkgname-$pkgver" "$pkgdir/opt/$pkgname"
  55. +  ln -s "/opt/$pkgname" "$pkgdir/opt/$pkgname-$pkgver"
  56.    install -dm755 "$pkgdir"/usr/share/{man/man1,licenses/$pkgname,pixmaps}
  57. -  ln -sf /opt/$pkgname-$pkgver/doc/$pkgname.1 \
  58. +  ln -s /opt/$pkgname/doc/$pkgname.1 \
  59.      "$pkgdir/usr/share/man/man1/$pkgname.1"
  60. -  ln -sf /opt/$pkgname-$pkgver/doc/license_en.txt \
  61. +  ln -s /opt/$pkgname/doc/license_en.txt \
  62.      "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  63. +  ln -s /opt/$pkgname/bin/eagleicon16.png \
  64. +    "$pkgdir/usr/share/pixmaps/eagle.png"
  65.    chown -R root:root "$pkgdir/opt/$pkgname-$pkgver"
  66.  }
clone this paste RAW Paste Data