1 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
2 # Maintainer: Fernando Henrique <arch at liquuid dot net>
3 # Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
8 pkgdesc="A graphical frontend for Ghostscript's PostScript-to-PDF converter"
10 url="http://moonshiner.sourceforge.net/"
12 depends=('python2' 'pygtk' 'ghostscript')
13 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
14 moonshiner.desktop moonshiner.png)
15 md5sums=('fb3cfa1fda862dd48c49864df908f84f'
16 '3371ee433a2dff83b1e3771234934eb8'
17 '52ac50697c126c6addbb71d711cdf8c3')
20 cd $srcdir/$pkgname-$pkgver
21 python2 setup.py install --root=$pkgdir || return 1
22 install -d "${pkgdir}"/usr/share/applications
23 install -D -m644 "${srcdir}"/moonshiner.desktop "${pkgdir}"/usr/share/applications
24 install -d "${pkgdir}"/usr/share/icons/hicolor/48x48/apps
25 install -D -m644 "${srcdir}"/moonshiner.png "${pkgdir}"/usr/share/icons/hicolor/48x48/apps