PKGBUILDs/community/impressive/PKGBUILD
2009-10-09 21:15:33 -05:00

26 lines
1.1 KiB
Bash

# Maintainer: Geoffroy Carrier <gcarrier@aur.archlinux.org>
# Contributor: G_Syme <demichan(at)mail(dot)upb(dot)de>
pkgname=impressive
pkgver=0.10.2
pkgrel=1
pkgdesc="A fancy PDF presentation program (previously known as KeyJNote)."
arch=('i686' 'x86_64')
url="http://impressive.sourceforge.net"
license=('GPL2')
depends=('python-pygame' 'python-opengl' 'pil' 'xpdf')
optdepends=('pdftk: for retrieving PDF metadata (page titles, hyperlinks)'
'xdg-utils: for starting web or e-mail hyperlinks from PDF documents'
'mplayer: for sound and video playback')
provides=('keyjnote=0.10.2')
conflicts=('keyjnote')
replaces=('keyjnote')
source=(http://downloads.sourceforge.net/$pkgname/Impressive-$pkgver.tar.gz)
build() {
cd "$srcdir/Impressive-$pkgver"
install -d -m755 "$pkgdir"/usr/{bin,share/{doc/$pkgname,man/man1}}
install -m755 $pkgname.py "$pkgdir/usr/bin/$pkgname"
ln -s $pkgname "$pkgdir/usr/bin/keyjnote"
install -m644 $pkgname.html demo.pdf changelog.txt "$pkgdir/usr/share/doc/$pkgname/"
install -m644 $pkgname.1 "$pkgdir/usr/share/man/man1/"
}
md5sums=('492eda5e3e09beb2f6dc997ed94f5349')