summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-12-07 01:41:50 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-12-07 01:41:50 (GMT)
commit21f2b55e683c5f9eee3f4d5bdbf4d79745bc46a6 (patch)
treeb179ea2edd42cc0fae378d1583eabad58f93c991 /abs/core
parent241deeec55ea5d904f071bc4ef12e8c2a4d8c76b (diff)
downloadlinhes_pkgbuild-21f2b55e683c5f9eee3f4d5bdbf4d79745bc46a6.zip
linhes_pkgbuild-21f2b55e683c5f9eee3f4d5bdbf4d79745bc46a6.tar.gz
linhes_pkgbuild-21f2b55e683c5f9eee3f4d5bdbf4d79745bc46a6.tar.bz2
gsfonts: upgrade
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/gsfonts/PKGBUILD37
1 files 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
}
+