summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrzej Giniewicz2015-07-07 21:11:08 +0200
committerAndrzej Giniewicz2015-07-07 21:11:08 +0200
commit8f65d0780a0b8a93757802670a0a8bdfa843f5c7 (patch)
tree5ffb2ce26204185053467e82b4db144b934d64a8
downloadaur-moonshiner.tar.gz
Initial import
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD30
-rw-r--r--moonshiner.desktop9
-rw-r--r--moonshiner.install14
-rw-r--r--moonshiner.pngbin0 -> 3563 bytes
5 files changed, 76 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9e3fc3ff3bd
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = moonshiner
+ pkgdesc = A graphical frontend for Ghostscript's PostScript-to-PDF converter
+ pkgver = 1.0
+ pkgrel = 4
+ url = http://moonshiner.sourceforge.net/
+ install = moonshiner.install
+ arch = any
+ license = GPL3
+ makedepends = python2-distribute
+ depends = pygtk
+ depends = ghostscript
+ depends = hicolor-icon-theme
+ depends = gtk-update-icon-cache
+ depends = desktop-file-utils
+ source = http://downloads.sourceforge.net/moonshiner/moonshiner-1.0.tar.gz
+ source = moonshiner.desktop
+ source = moonshiner.png
+ md5sums = fb3cfa1fda862dd48c49864df908f84f
+ md5sums = 3371ee433a2dff83b1e3771234934eb8
+ md5sums = 52ac50697c126c6addbb71d711cdf8c3
+
+pkgname = moonshiner
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f28e9373bc8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+#Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
+#Contributor: Anton Bazhenov <anton.bazhenov at gmail>
+#Contributor: Fernando Henrique <arch at liquuid dot net>
+
+pkgname=moonshiner
+pkgver=1.0
+pkgrel=4
+pkgdesc="A graphical frontend for Ghostscript's PostScript-to-PDF converter"
+arch=('any')
+url="http://moonshiner.sourceforge.net/"
+license=('GPL3')
+depends=('pygtk' 'ghostscript' 'hicolor-icon-theme' 'gtk-update-icon-cache'
+ 'desktop-file-utils')
+makedepends=("python2-distribute")
+install="moonshiner.install"
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
+ moonshiner.desktop moonshiner.png)
+md5sums=('fb3cfa1fda862dd48c49864df908f84f'
+ '3371ee433a2dff83b1e3771234934eb8'
+ '52ac50697c126c6addbb71d711cdf8c3')
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ python2 setup.py install --root="$pkgdir"/ --optimize=1
+ install -D -m644 "${srcdir}"/moonshiner.desktop \
+ "${pkgdir}"/usr/share/applications/moonshiner.desktop
+ install -D -m644 "${srcdir}"/moonshiner.png \
+ "${pkgdir}"/usr/share/icons/hicolor/48x48/apps/moonshiner.png
+}
+
diff --git a/moonshiner.desktop b/moonshiner.desktop
new file mode 100644
index 00000000000..f0f391ef389
--- /dev/null
+++ b/moonshiner.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=Moonshiner
+GenericName=PS-to-PDF converter
+Icon=moonshiner
+Exec=moonshiner
+Categories=Graphics;Publishing;GTK;
+Comment=Convert PostScript files to PDF documents using a graphical interface
+
diff --git a/moonshiner.install b/moonshiner.install
new file mode 100644
index 00000000000..467f0764bc1
--- /dev/null
+++ b/moonshiner.install
@@ -0,0 +1,14 @@
+
+post_install() {
+ update-desktop-database -q
+ gtk-update-icon-cache
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+
diff --git a/moonshiner.png b/moonshiner.png
new file mode 100644
index 00000000000..ed9d277a915
--- /dev/null
+++ b/moonshiner.png
Binary files differ