[arch-commits] CVS update of arch/build/system/ghostscript (2 files)
Eric Belanger
eric at archlinux.org
Sun Jul 22 02:32:12 UTC 2007
Date: Saturday, July 21, 2007 @ 22:32:12
Author: eric
Path: /home/cvs-arch/arch/build/system/ghostscript
Added: ghostscript.install (1.1)
Modified: PKGBUILD (1.39 -> 1.40)
added .install scriptlet (close FS#7550)
---------------------+
PKGBUILD | 3 ++-
ghostscript.install | 14 ++++++++++++++
2 files changed, 16 insertions(+), 1 deletion(-)
Index: arch/build/system/ghostscript/PKGBUILD
diff -u arch/build/system/ghostscript/PKGBUILD:1.39 arch/build/system/ghostscript/PKGBUILD:1.40
--- arch/build/system/ghostscript/PKGBUILD:1.39 Sun Jun 24 19:26:39 2007
+++ arch/build/system/ghostscript/PKGBUILD Sat Jul 21 22:32:12 2007
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD,v 1.39 2007/06/24 23:26:39 alexander Exp $
+# $Id: PKGBUILD,v 1.40 2007/07/22 02:32:12 eric Exp $
# Maintainer: dorphell <dorphell at archlinux.org>
pkgname=ghostscript
pkgver=8.15.4
@@ -11,6 +11,7 @@
replaces=('ghostscript-lrpng')
provides=('ghostscript-lprng')
url="http://www.cups.org/espgs/"
+install=ghostscript.install
source=(http://ftp.easysw.com/pub/${pkgname}/${pkgver}/espgs-${pkgver}-source.tar.bz2)
md5sums=('e74e0463e0bfb1cea3db245d8e71828c')
options=('!libtool' '!makeflags')
Index: arch/build/system/ghostscript/ghostscript.install
diff -u /dev/null arch/build/system/ghostscript/ghostscript.install:1.1
--- /dev/null Sat Jul 21 22:32:12 2007
+++ arch/build/system/ghostscript/ghostscript.install Sat Jul 21 22:32:12 2007
@@ -0,0 +1,14 @@
+post_install() {
+cat << EOF
+==> To use dvipdf, you need to install tetex:
+==> # pacman -S tetex
+EOF
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+op=$1
+shift
+$op $*
More information about the arch-commits
mailing list