summaryrefslogtreecommitdiff
path: root/extra/xournal/PKGBUILD
blob: 9337f08c5958c4d3bca298cf9d26882cf29ec99d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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' 'mips64el')
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
}