diff options
Diffstat (limited to 'extra/xournal/PKGBUILD')
-rw-r--r-- | extra/xournal/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/xournal/PKGBUILD b/extra/xournal/PKGBUILD new file mode 100644 index 000000000..e9c825e26 --- /dev/null +++ b/extra/xournal/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 108182 2011-01-30 14:22:10Z ibiru $ +# Contributor: +# Maintainer: + +pkgname=xournal +pkgver=0.4.5 +pkgrel=4 +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') +sha1sums=('390cb275774469ed1b04b7268dd625bd456c895e' + 'f23f53b9f69ba8a5773c53d7bca99abf9d8504f8') + + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -p1 < ../pdf-export-64.patch # from xournal CVS, see FS#21693 + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install desktop-install +} |