summaryrefslogblamecommitdiff
path: root/user/gnu-ghostscript/APKBUILD
blob: b0ecc1b576a6da713a61dc241501a2a8eba9d82d (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=gnu-ghostscript
pkgver=9.14.1
pkgrel=0
pkgdesc="PostScript utilities"
url="https://www.gnu.org/software/ghostscript/"
arch="all"
license="AGPL-3.0+ WITH PDF-exception"
depends=""
makedepends="dbus-dev fontconfig-dev freetype-dev lcms2-dev libice-dev
	libjpeg-turbo-dev libpaper-dev libpng-dev libx11-dev libxext-dev
	libxt-dev tiff-dev zlib-dev"
subpackages="$pkgname-doc"
source="ftp://ftp.gnu.org/gnu/ghostscript/gnu-ghostscript-$pkgver.tar.xz
	do-not-use-sprintf.patch
	"

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="658f6ae14b29965c7959b9bd1463760d7fb03b35251446fc37101dbe7ee2866c74a0803e22b2f4488be3221d026578be1d6be7b562ff240036134fbf83edabf9  gnu-ghostscript-9.14.1.tar.xz
2c1d3a487ff7ee65855d3c587747bd8bf0f5a61ef30f4c84e6df237d6680a88ba72f328c7294eee0058eb69f770f3e539f29cb2ea4c55bcac98f22c5bd203020  do-not-use-sprintf.patch"