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


                                                  
            






                                                       
                           

                                                                   
                                                                               

         
                          




                                         

                                      



            



                  


                                      
                                                                                                                                                                      
# 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="bash 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() {
	bash ./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"