1 # Maintainer: Dmitry Korzhevin <dkorzhevin at gmail dot com>
2 # Contributor: 4javier <4javier4@gmail.com>
3 # Contributor: G_Syme <demichan(at)mail(dot)upb(dot)de>
4 # Contributor: cameel <cameel2/gmail/com>
8 pkgdesc="A simple desktop diary"
10 url="http://rednotebook.sourceforge.net"
12 depends=('pygtk' 'python2-yaml' 'pywebkitgtk')
13 optdepends=('pywebkitgtk:use webkit for preview and PDF export' 'python-chardet:better recognition of file encoding')
14 source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver.tar.gz)
15 md5sums=('95396d0081558adcb7803e6c5c47bc6b')
18 cd "$srcdir"/$pkgname-$pkgver
19 python2 setup.py install --root="$pkgdir" --prefix=/usr || return 1
21 for _res in 16 22 32 64 128; do
22 install -D -m644 build/lib/rednotebook/images/rednotebook-icon/rn-$_res.png \
23 "$pkgdir"/usr/share/icons/hicolor/${_res}x${_res}/apps/$pkgname.png