summaryrefslogtreecommitdiff
path: root/user/gutenprint/APKBUILD
blob: 42198e73dbe106a484cade09d1c70e9e824dc40a (plain) (blame)
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
32
33
34
35
36
37
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=gutenprint
pkgver=5.3.3
pkgrel=0
pkgdesc="Open source printer drivers"
url="http://gimp-print.sourceforge.net/"
arch="all"
options="!check"  # Times out even on 64-thread POWER9.
license="GPL-2.0-only"
depends=""
makedepends="cups-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-libs"
install="$pkgname.post-install $pkgname.post-upgrade"
source="https://downloads.sourceforge.net/gimp-print/gutenprint-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--disable-testpattern
	make
}

check() {
	make check
}

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

sha512sums="d2c47eb4ccc3c46ccb2f1042682edf7443f5c57439ead72f49ecd10537cf967251bacf7ca7da29fb8dceecc7eebd55ed021f2594ff9fb6509bab543fab1dc8d6  gutenprint-5.3.3.tar.xz"