# Maintainer: Er2 <er2@dismail.de>
# Contributor: Er2 <er2@dismail.de>
pkgname=splix
pkgver=2.0.1
pkgrel=0
pkgdesc="SPL driver for CUPS"
url="https://openprinting.github.io/splix/"
arch="all"
license="GPL-2.0-only"
depends="cups"
makedepends="cups-dev"
options="!check" # no testsuite
source="https://github.com/OpenPrinting/splix/releases/download/$pkgver/splix-$pkgver.tar.xz"
build() {
	make DISABLE_JBIG=1
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
45708d65576e87c9f0c9cc7d4919ea19b1418bb932854b14a80bbcf890e28f7ee11ac64a5b9ccca1b8f4aec803822392ab738329d3e9894ad60b5393bffeef74  splix-2.0.1.tar.xz
"
