diff options
author | root <root@rshg054.dnsready.net> | 2011-10-18 23:14:49 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-10-18 23:14:49 +0000 |
commit | 791dde5091677cd6370690f9df9fb7cbdcfe0968 (patch) | |
tree | 44b8403e7782995a56c22f0fdacd13b227667bb1 /extra/xournal/PKGBUILD | |
parent | c4f201fd7208805c7ee00e0ee833d3cc505898ac (diff) |
Tue Oct 18 23:14:48 UTC 2011
Diffstat (limited to 'extra/xournal/PKGBUILD')
-rw-r--r-- | extra/xournal/PKGBUILD | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/extra/xournal/PKGBUILD b/extra/xournal/PKGBUILD index e9c825e26..79f6f7c93 100644 --- a/extra/xournal/PKGBUILD +++ b/extra/xournal/PKGBUILD @@ -1,31 +1,35 @@ -# $Id: PKGBUILD 108182 2011-01-30 14:22:10Z ibiru $ -# Contributor: -# Maintainer: +# $Id: PKGBUILD 140585 2011-10-17 08:15:15Z jgc $ +# Maintainer: Gaetan Bisson <bisson@archlinux.org> pkgname=xournal pkgver=0.4.5 -pkgrel=4 +pkgrel=5 pkgdesc='Notetaking and sketching application' arch=('i686' 'x86_64') url='http://xournal.sourceforge.net/' license=('GPL') depends=('libgnomecanvas' 'poppler-glib' 'shared-mime-info' 'desktop-file-utils' 'hicolor-icon-theme') optdepends=('ghostscript: import PS/PDF files as bitmap backgrounds') -install=xournal.install source=("http://downloads.sourceforge.net/xournal/xournal-${pkgver}.tar.gz" - 'pdf-export-64.patch') + 'pdf-export-64.patch' + 'poppler-api.patch') sha1sums=('390cb275774469ed1b04b7268dd625bd456c895e' - 'f23f53b9f69ba8a5773c53d7bca99abf9d8504f8') + 'f23f53b9f69ba8a5773c53d7bca99abf9d8504f8' + '5aedd5610b42df96e964bb889d4bf0831c2080bc') +install=install build() { - cd "${srcdir}/${pkgname}-${pkgver}" - patch -p1 < ../pdf-export-64.patch # from xournal CVS, see FS#21693 - ./configure --prefix=/usr - make + cd "${srcdir}/${pkgname}-${pkgver}" + + patch -p1 -i ../pdf-export-64.patch # from xournal CVS, see FS#21693 + patch -p1 -i ../poppler-api.patch + + ./configure --prefix=/usr + make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install desktop-install + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install desktop-install } |