summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaroslav Lichtblau2017-12-02 20:48:07 +0100
committerJaroslav Lichtblau2017-12-02 20:48:07 +0100
commit97c4d6242570c6621fbcea473ccb8f240d4aecc6 (patch)
treede76d97306ed020fb63582e6cea468ec22dc890f
downloadaur-97c4d6242570c6621fbcea473ccb8f240d4aecc6.tar.gz
impressive moved from community to AUR
FS#55864 fixed
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD37
2 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ff9cef41567
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+# Generated by mksrcinfo v8
+# Sat Dec 2 19:48:00 UTC 2017
+pkgbase = impressive
+ pkgdesc = A fancy PDF presentation program (previously known as KeyJNote)
+ pkgver = 0.11.1
+ pkgrel = 1
+ url = http://impressive.sourceforge.net
+ arch = any
+ license = GPL2
+ depends = python2-pygame
+ depends = python2-opengl
+ depends = python2-pillow
+ depends = ghostscript
+ depends = pdftk
+ optdepends = xdg-utils: for starting web or e-mail hyperlinks from PDF documents
+ optdepends = mplayer: for sound and video playback
+ source = http://downloads.sourceforge.net/impressive/Impressive-0.11.1.tar.gz
+ sha256sums = 593f616eb72a18a826bc7687c9952a2ae5dded5483d2688bab5b5ca68caf792c
+
+pkgname = impressive
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f2c10142e7c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer:
+# Contributor: Jaroslav Lichtblau <svetlemodry@archlinux.org>
+# Contributor: Geoffroy Carrier <gcarrier@aur.archlinux.org>
+# Contributor: G_Syme <demichan(at)mail(dot)upb(dot)de>
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
+
+pkgname=impressive
+pkgver=0.11.1
+pkgrel=1
+pkgdesc='A fancy PDF presentation program (previously known as KeyJNote)'
+arch=('any')
+url='http://impressive.sourceforge.net'
+license=('GPL2')
+depends=('python2-pygame' 'python2-opengl' 'python2-pillow' 'ghostscript' 'pdftk')
+optdepends=('xdg-utils: for starting web or e-mail hyperlinks from PDF documents'
+ 'mplayer: for sound and video playback')
+source=(http://downloads.sourceforge.net/${pkgname}/Impressive-${pkgver}.tar.gz)
+sha256sums=('593f616eb72a18a826bc7687c9952a2ae5dded5483d2688bab5b5ca68caf792c')
+
+prepare() {
+ cd "${srcdir}"/Impressive-${pkgver}
+
+# python2 fix
+ for file in $(find . -name '*.py' -print); do
+ sed -i 's_#!.*/usr/bin/python_#!/usr/bin/python2_' $file
+ sed -i 's_#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
+ done
+}
+
+package() {
+ cd "${srcdir}"/Impressive-${pkgver}
+
+ install -d -m755 "${pkgdir}"/usr/{bin,share/{doc/${pkgname},man/man1}}
+ install -m755 ${pkgname}.py "${pkgdir}"/usr/bin/$pkgname
+ install -m644 ${pkgname}.html demo.pdf changelog.txt "${pkgdir}"/usr/share/doc/$pkgname/
+ install -m644 ${pkgname}.1 "${pkgdir}"/usr/share/man/man1/
+}