Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

mendeleydesktop - add Desktop support

By: a guest on Apr 6th, 2010  |  syntax: Bash  |  size: 0.46 KB  |  hits: 134  |  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.     install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE || return 1
  2.     rm -f LICENSE
  3.    
  4.     #install desktop stuff
  5.     find share/{icons,applications} | cpio -p -dum $pkgdir/usr || return 1
  6.     install -Dm644 share/icons/hicolor/48x48/apps/mendeleydesktop.png \
  7.             $pkgdir/usr/share/pixmaps/mendeleydesktop.png || return 1
  8.     rm -rf share/{applications,icons}
  9.     ##
  10.  
  11.     find . | cpio -p -dum $pkgdir/opt/mendeleydesktop || return 1