diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-01-13 20:18:41 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-01-13 20:18:41 +0000 |
commit | 9b9d9ea3d249a60d4395bdb6c88134f977c64261 (patch) | |
tree | 27b0610e57f6ed79c98a89570dafc527387cd6e3 /user/gnu-ghostscript/APKBUILD | |
parent | dadc93d1b35aa2336bbd46cc590dabd5d844bb0e (diff) | |
download | packages-9b9d9ea3d249a60d4395bdb6c88134f977c64261.tar.gz packages-9b9d9ea3d249a60d4395bdb6c88134f977c64261.tar.bz2 packages-9b9d9ea3d249a60d4395bdb6c88134f977c64261.tar.xz packages-9b9d9ea3d249a60d4395bdb6c88134f977c64261.zip |
user/gnu-ghostscript: new package
Diffstat (limited to 'user/gnu-ghostscript/APKBUILD')
-rw-r--r-- | user/gnu-ghostscript/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/user/gnu-ghostscript/APKBUILD b/user/gnu-ghostscript/APKBUILD new file mode 100644 index 000000000..633582fb6 --- /dev/null +++ b/user/gnu-ghostscript/APKBUILD @@ -0,0 +1,40 @@ +# 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" +sha512sums="658f6ae14b29965c7959b9bd1463760d7fb03b35251446fc37101dbe7ee2866c74a0803e22b2f4488be3221d026578be1d6be7b562ff240036134fbf83edabf9 gnu-ghostscript-9.14.1.tar.xz" +builddir="$srcdir/gnu-ghostscript-$pkgver" + +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 +} + |