Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

rssowl

By: Unknown47 on Aug 7th, 2011  |  syntax: Bash  |  size: 1.00 KB  |  hits: 140  |  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: Daniel J Griffiths <ghost1227@archlinux.us>
  2.  
  3. pkgname=rssowl
  4. pkgver=2.1.1
  5. pkgrel=1
  6. pkgdesc="A powerful java-based RSS reader."
  7. arch=('i686' 'x86_64')
  8. url="http://boreal.rssowl.org"
  9. license=('GPL')
  10. depends=('libxrender' 'fontconfig')
  11.  
  12. if [[ $CARCH = "x86_64" ]]; then
  13.         source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.linux.x86_64.zip \
  14.                 $pkgname.desktop)
  15.         md5sums=('063b08f82abba57d1c9e39ed76492625' \
  16.                  '4e9dcbe25291435d3bd8396ed88a1d62')
  17. else
  18.         source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.linux.x86.zip \
  19.                 $pkgname.desktop)
  20.         md5sums=('1e337b0bb2022f81ac222f2bb3461e1d' \
  21.                  '4e9dcbe25291435d3bd8396ed88a1d62')
  22. fi
  23.  
  24. build(){
  25.         cd $startdir/src/$pkgname
  26.         mkdir -p $pkgdir/usr/{bin,share/$pkgname}
  27.         cp -R * $pkgdir/usr/share/$pkgname
  28.         echo -e "#!/bin/bash\n\n/usr/share/$pkgname/RSSOwl" >$pkgdir/usr/bin/$pkgname
  29.         chmod 755 $pkgdir/usr/bin/$pkgname
  30.         install -D -m644 $srcdir/rssowl.desktop $pkgdir/usr/share/applications/rssowl.desktop
  31. }