1 # Maintainer: Vain <aurmaint1 on host: uninformativ dot de>
5 pkgdesc="Dual head PDF presenter"
7 url='http://www.uninformativ.de/projects/?q=pdfpres'
10 # Actually, gtk2 and libxml2 are needed, too, but they're dependencies
12 depends=('poppler-glib')
13 makedepends=('git' 'scons')
15 _gitroot="git://github.com/vain/pdfPres.git"
20 msg "Connecting to GIT server...."
22 if [ -d $_gitname ] ; then
23 cd $_gitname && git pull origin
24 msg "The local files are updated."
26 git clone $_gitroot $_gitname
29 msg "GIT checkout done or server timeout"
30 msg "Starting make..."
32 rm -rf "$srcdir/$_gitname-build"
33 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
34 cd "$srcdir/$_gitname-build"
44 cd "$srcdir/$_gitname-build"
46 install -Dm 644 README.md \
47 "${pkgdir}/usr/share/doc/${pkgname%-git}/README.md"
48 install -Dm 644 man1/pdfpres.1 "$pkgdir"/usr/share/man/man1/pdfpres.1
49 install -Dm 755 pdfpres "$pkgdir"/usr/bin/pdfpres