summaryrefslogblamecommitdiff
path: root/user/gutenprint/APKBUILD
blob: 67f344222a5597ddcbc6702cc0dff4bb0a316834 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14


                                                  
            









                                                                   


                                                                              








                                         

                                      












                                      

                                                                                                                                                                     
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=gutenprint
pkgver=5.3.1
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
	freopen.patch
	"

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

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

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

sha512sums="214d07e6f78130e95c8c9d98f0862921d26f74a7c302afabdb138b35ef5f02f52fa143411983867fd7015477c16ca18cf8001e6552c27cd4a12c08ff77e92986  gutenprint-5.3.1.tar.xz
a4a74b7eeffdb12cc106c7da33bef24a7e80fca94091a8301b61df60e642e54fb57f5f00027530d86a83c3aff086ff43439b46bcfdcafa29073c60445d49781e  freopen.patch"