summaryrefslogtreecommitdiff
path: root/extra/xournal/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xournal/PKGBUILD')
-rw-r--r--extra/xournal/PKGBUILD30
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
}