updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / moonshiner / PKGBUILD
blob06070925481efc367f44d6ed72a306b87e4c005d
1 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
2 # Maintainer: Fernando Henrique <arch at liquuid dot net>
3 # Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
5 pkgname=moonshiner
6 pkgver=1.0
7 pkgrel=3
8 pkgdesc="A graphical frontend for Ghostscript's PostScript-to-PDF converter"
9 arch=('any')
10 url="http://moonshiner.sourceforge.net/"
11 license=('GPL3')
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')
19 build() {
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