# Contributor: Sören Tempel # Contributor: Jakub Jirutka # Maintainer: Jakub Jirutka # TODO: Try to build it without GUI. pkgname=diff-pdf pkgver=0.4.1 pkgrel=0 pkgdesc="A simple tool for visually comparing two PDF files" url="https://vslavik.github.io/diff-pdf/" arch="all" license="GPL-2.0-or-later" options="!check" # upstream doesn't have a test suite makedepends="autoconf automake cairo-dev poppler-dev wxgtk-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/vslavik/diff-pdf/archive/v$pkgver.tar.gz" prepare() { default_prepare ./bootstrap } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --disable-silent-rules \ make } package() { make DESTDIR="$pkgdir" install } sha512sums="8ba5dfee0b5222c79c8d6a3215c2e7df977ad02de5afeeb497c3d9e861ee312b3e1234c57132e0ea4cf6931cfdbdebd508ecfb6c2335cbe161121be6bbb343dc diff-pdf-0.4.1.tar.gz"