From 21f2b55e683c5f9eee3f4d5bdbf4d79745bc46a6 Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Tue, 7 Dec 2010 01:41:50 +0000
Subject: gsfonts: upgrade

---
 abs/core/gsfonts/PKGBUILD | 37 +++++++++++++++++++++++++------------
 1 file changed, 25 insertions(+), 12 deletions(-)

diff --git a/abs/core/gsfonts/PKGBUILD b/abs/core/gsfonts/PKGBUILD
index 01bb023..325fffe 100644
--- a/abs/core/gsfonts/PKGBUILD
+++ b/abs/core/gsfonts/PKGBUILD
@@ -1,18 +1,31 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: dorphell <dorphell@archlinux.org>
+# $Id: PKGBUILD 73458 2010-03-26 07:43:21Z francois $
+# Maintainer: Firmicus <francois.archlinux.org>
+# Contributor: dorphell <dorphell@archlinux.org>
+
 pkgname=gsfonts
-pkgver=8.11
-pkgrel=4
-pkgdesc="Ghostscript standard Type1 fonts"
-arch=(i686 x86_64)
+_realname=urw-fonts
+pkgver=1.0.7pre44
+_fedoraver=2.4
+_fedorarel=9.fc13
+pkgrel=2
+pkgdesc="Ghostscript standard Type1 fonts from URW"
+arch=(any)
+url="http://sourceforge.net/projects/gs-fonts/"
+license=('GPL2')
 depends=('xorg-font-utils' 'fontconfig')
+makedepends=('rpmextract')
+provides=(${_realname})
 install=xfonts.install
-url="http://sourceforge.net/projects/ghostscript"
-source=(http://superb-east.dl.sourceforge.net/sourceforge/gs-fonts/ghostscript-fonts-std-8.11.tar.gz)
-md5sums=('6865682b095f8c4500c54b285ff05ef6')
+source=(http://kojipkgs.fedoraproject.org/packages/${_realname}/${_fedoraver}/${_fedorarel}/src/${_realname}-${_fedoraver}-${_fedorarel}.src.rpm)
+options=(force)
+md5sums=('54935e7d6692792e414510490e3a0fa4')
 
 build() {
-  mkdir -p ${startdir}/pkg/usr/share/fonts/Type1
-  install -m644 ${startdir}/src/fonts/*.{pfb,pfm,afm} \
-                ${startdir}/pkg/usr/share/fonts/Type1/ || return 1
+  cd $srcdir || return 1
+  /usr/bin/rpmextract.sh ${_realname}-${_fedoraver}-${_fedorarel}.src.rpm || return 1
+  bsdtar xf *.tar.bz2 || return 1
+  install -d ${pkgdir}/usr/share/fonts/Type1
+  install -m644 *.{pfb,pfm,afm} \
+                ${pkgdir}/usr/share/fonts/Type1/ || return 1
 }
+
-- 
cgit v0.12

