summaryrefslogtreecommitdiff
path: root/user/gutenprint/APKBUILD
blob: ae768304b08b843959f3ca3b7bfca352b11da7ef (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
38
39
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=gutenprint
pkgver=5.2.14
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.bz2"

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

check() {
	cd "$builddir"
	make check
}

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

sha512sums="aeb06b4be45fcb67320b419b988ca59dbda51bb2c3ff4edd0f0757ac977565a6829f506ebea6872211c689a15925ad2119836424c3c9a97345a8cd506e9df9fd  gutenprint-5.2.14.tar.bz2"