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 rednotebook-1.1.0

By: a guest on Aug 6th, 2010  |  syntax: Bash  |  size: 0.82 KB  |  views: 94  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #Maintainer: 4javier <4javier4@gmail.com>
  2. # Contributor: G_Syme <demichan(at)mail(dot)upb(dot)de>
  3. # Contributor: cameel <cameel2/gmail/com>
  4. pkgname=rednotebook
  5. pkgver=1.1.0
  6. pkgrel=1
  7. pkgdesc="A simple desktop diary"
  8. arch=('i686' 'x86_64')
  9. url="http://rednotebook.sourceforge.net"
  10. license=('GPL2')
  11. depends=('pygtk' 'python-yaml')
  12. optdepends=('pywebkitgtk:use webkit for preview')
  13. source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver.tar.gz)
  14. md5sums=('4e3735c2fbd578afc15fa98bfa52afc0')
  15.  
  16. build() {
  17.   cd "$srcdir"/$pkgname-$pkgver
  18.   python setup.py install --root="$pkgdir" --prefix=/usr || return 1
  19.  
  20.   for _res in 16 22 32 64 128; do
  21.     install -D -m644 build/lib/rednotebook/images/rednotebook-icon/rn-$_res.png \
  22.         "$pkgdir"/usr/share/icons/hicolor/${_res}x${_res}/apps/$pkgname.png
  23.   done
  24. }