summaryrefslogtreecommitdiff
path: root/libre/ghostscript/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/ghostscript/PKGBUILD')
-rw-r--r--libre/ghostscript/PKGBUILD31
1 files changed, 8 insertions, 23 deletions
diff --git a/libre/ghostscript/PKGBUILD b/libre/ghostscript/PKGBUILD
index 3623fa5ad..40f000d9b 100644
--- a/libre/ghostscript/PKGBUILD
+++ b/libre/ghostscript/PKGBUILD
@@ -1,12 +1,10 @@
-# $Id: PKGBUILD 257646 2016-01-08 18:25:04Z andyrtr $
+# $Id: PKGBUILD 262479 2016-03-24 19:12:33Z andyrtr $
# Maintainer (Arch): AndyRTR <andyrtr@archlinux.org>
# Maintainer: André Silva <emulatorman@parabola.nu>
-### !!! rebuild groff from core that picks up hardcoding the GS versioned font path !!! ###
-
pkgname=ghostscript
-pkgver=9.18
-pkgrel=6.parabola1
+pkgver=9.19
+pkgrel=1.parabola1
pkgdesc="An interpreter for the PostScript language, without nonfree JPEG XR support"
arch=('i686' 'x86_64' 'armv7h')
license=('AGPL' 'custom')
@@ -18,21 +16,15 @@ optdepends=('texlive-core: needed for dvipdf'
conflicts=('ghostscript-libre')
replaces=('ghostscript-libre')
url="http://www.ghostscript.com/"
-mksource=(http://downloads.ghostscript.com/public/ghostscript-${pkgver}.tar.bz2)
+mksource=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${pkgver/./}/ghostscript-${pkgver}.tar.bz2)
source=(https://repo.parabola.nu/other/ghostscript-libre/ghostscript-libre-${pkgver}.tar.bz2
ghostscript-sys-zlib.patch
- bug_696246.diff
- add_gserrors_h.diff
- fix_check_for_using_shared_freetype_lib.diff
libre.patch)
#options=('!makeflags')
-# http://downloads.ghostscript.com/public/SHA1SUMS
-mksha1sums=('388fea50a38e422a4c6ff27c184491bf5ecb96e1')
-sha1sums=('6899da0407e4bf4a9f65848e68df237ed83c04ee'
+# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases
+mksha1sums=('4aeb7c259dac524b3147447cf5dd5753d846ad11')
+sha1sums=('32378d7286ab78060bf98c877c735ef887d55ad0'
'e054caf753df4d67221b29a2eac66130653f7556'
- 'f259eaac3beb0ec346bb2d4d2455e4e3baddecd4'
- 'ca686fed1af36d1f9fa866b47ff129c71d6a19ff'
- '8258043b111832fe52989ccb00d6d87285fcad81'
'51f821faec00749ed8b61d772879269f9809f694')
mksource() {
cd ghostscript-${pkgver}
@@ -45,13 +37,6 @@ prepare() {
cd ghostscript-${pkgver}
# fix build with system zlib
patch -Np1 -i ${srcdir}/ghostscript-sys-zlib.patch
- # fix http://bugs.ghostscript.com/show_bug.cgi?id=696246 - FS#46637, FS#46734?
- patch -Np1 -i ${srcdir}/bug_696246.diff
- # add a missing header; FS#46928
- patch -Np1 -i ${srcdir}/add_gserrors_h.diff
- # fix use system freetype - FS#46744
- # http://git.ghostscript.com/?p=ghostpdl.git;a=patch;h=8f5d28536e4518716fdfe974e580194c8f57871d
- patch -Np1 -i ${srcdir}/fix_check_for_using_shared_freetype_lib.diff
# remove nonfree JPEG XR reference on the license file
patch -Np1 -i ${srcdir}/libre.patch
}
@@ -99,7 +84,7 @@ package() {
cups_serverbin="${pkgdir}"/usr/lib/cups install install-so
# install missing doc files # http://bugs.archlinux.org/task/18023
- install -m 644 "${srcdir}"/ghostscript-${pkgver}/doc/{Ps2ps2.htm,gs-vms.hlp,gsdoc.el,pscet_status.txt} "${pkgdir}"/usr/share/ghostscript/$pkgver/doc/
+ install -m 644 "${srcdir}"/ghostscript-${pkgver}/doc/{VectorDevices.htm,gs-vms.hlp,gsdoc.el,pscet_status.txt} "${pkgdir}"/usr/share/ghostscript/$pkgver/doc/
install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE