From fe548131c28daad221e6789ddb8e99e54cc155a5 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Fri, 10 Jan 2014 03:44:36 +0000 Subject: Fri Jan 10 03:40:47 UTC 2014 --- libre/ghostscript-libre/PKGBUILD | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'libre/ghostscript-libre') diff --git a/libre/ghostscript-libre/PKGBUILD b/libre/ghostscript-libre/PKGBUILD index 4db0709fc..5b977e4b5 100644 --- a/libre/ghostscript-libre/PKGBUILD +++ b/libre/ghostscript-libre/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 193812 2013-09-02 09:41:54Z andyrtr $ +# $Id: PKGBUILD 197986 2013-10-30 12:06:11Z allan $ # Maintainer: AndyRTR # Maintainer (Parabola): Joshua Haase # Maintainer (Parabola): André Silva @@ -21,17 +21,23 @@ conflicts=('ghostscript') replaces=('ghostscript') provides=("ghostscript=$pkgver") url="http://www.ghostscript.com/" -source=(http://downloads.ghostscript.com/public/ghostscript-${pkgver}.tar.bz2) +mksource=(http://downloads.ghostscript.com/public/ghostscript-${pkgver}.tar.bz2) +source=(https://repo.parabolagnulinux.org/sources/ghostscript-libre-${pkgver}.tar.bz2) options=('!libtool' '!makeflags') -md5sums=('7179bb1ed4f6f453147e6f7e1f210ce8') +mkmd5sums=('7179bb1ed4f6f453147e6f7e1f210ce8') +md5sums=('c9f6ffec6a07e06caba394d7ebdbbe9a') -build() { +mksource() { cd ghostscript-${pkgver} - + # delete nonfree files grep -l "are not altered" Resource/CMap/* | xargs rm -fv grep -l "not be copied" Resource/CMap/* | xargs rm -fv +} +build() { + cd ghostscript-${pkgver} + # force it to use system-libs rm -rf jpeg libpng zlib jasper expat tiff lcms lcms2 freetype openjpeg cups/libs # jbig2dec is in community -- cgit v1.2.3-54-g00ecf