# Contributor: Ivan Tham # Maintainer: Ivan Tham pkgname=xournal pkgver=0.4.8.2016 pkgrel=1 pkgdesc="Notetaking, sketching, keeping a journal using a stylus" url="http://xournal.sourceforge.net/" arch="all" license="GPL-2.0" makedepends="libgnomecanvas-dev poppler-dev gtk+2.0-dev libart-lgpl-dev" subpackages="$pkgname-lang" source="https://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz static-inline.patch" builddir="$srcdir/"$pkgname-$pkgver build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --target=$CTARGET \ --prefix=/usr make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="1426d5c9ba3486fbe342d49fc19fcc162965cd6a7b7754f79665e43fe0e60e6f42f61969405ace78fdaa7b99cbb3d4b07b7fb5df246d68a329b52084b6eec76e xournal-0.4.8.2016.tar.gz de5dbe8a6ee98215cca22e0776817f655b7dfe741ebb186e7fdfa0569bc078888f84669d0ddbcf7abfd31232a533b02f00acc8b2a7204339b2e69a4a7f8f7df4 static-inline.patch"