2025-04-28 22:45:48 +00:00

37 lines
967 B
Plaintext

# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
# TODO: Try to build it without GUI.
pkgname=diff-pdf
pkgver=0.5.2
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 wxwidgets-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="
9f89e275e1a2095778a98502c7c0416448430f6315598b33b0b304a10a499f5abcd73f2b6aebbdc2d9435179a6bb3873950082285296170b43e8a4ce3107a53d diff-pdf-0.5.2.tar.gz
"