diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-07 02:30:59 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-07 02:30:59 (GMT) |
commit | c14d6373643502acb1f968300e0bbbe9e179f3a7 (patch) | |
tree | 581f812afa4f3413a4d5d29f28823d3a0fa81713 /abs/core/gsfonts/PKGBUILD | |
parent | e39a88ed81cbb4f4ddb9f1de4d0497ff7db908d7 (diff) | |
download | linhes_pkgbuild-c14d6373643502acb1f968300e0bbbe9e179f3a7.zip linhes_pkgbuild-c14d6373643502acb1f968300e0bbbe9e179f3a7.tar.gz linhes_pkgbuild-c14d6373643502acb1f968300e0bbbe9e179f3a7.tar.bz2 |
gsfonts 1.0.7
Diffstat (limited to 'abs/core/gsfonts/PKGBUILD')
-rw-r--r-- | abs/core/gsfonts/PKGBUILD | 41 |
1 files changed, 22 insertions, 19 deletions
diff --git a/abs/core/gsfonts/PKGBUILD b/abs/core/gsfonts/PKGBUILD index 325fffe..df44e7f 100644 --- a/abs/core/gsfonts/PKGBUILD +++ b/abs/core/gsfonts/PKGBUILD @@ -1,31 +1,34 @@ -# $Id: PKGBUILD 73458 2010-03-26 07:43:21Z francois $ -# Maintainer: Firmicus <francois.archlinux.org> +# $Id: PKGBUILD 149058 2012-02-05 15:58:05Z bisson $ +# Contributor: Firmicus <francois.archlinux.org> # Contributor: dorphell <dorphell@archlinux.org> +# Maintainer: Gaetan Bisson <bisson@archlinux.org> pkgname=gsfonts _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/" +_fedorarel=11.fc17 +pkgrel=3 +pkgdesc='Standard Ghostscript Type1 fonts from URW' +url='http://sourceforge.net/projects/gs-fonts/' +arch=('any') license=('GPL2') -depends=('xorg-font-utils' 'fontconfig') makedepends=('rpmextract') -provides=(${_realname}) -install=xfonts.install -source=(http://kojipkgs.fedoraproject.org/packages/${_realname}/${_fedoraver}/${_fedorarel}/src/${_realname}-${_fedoraver}-${_fedorarel}.src.rpm) -options=(force) -md5sums=('54935e7d6692792e414510490e3a0fa4') +depends=('xorg-font-utils' 'fontconfig') +source=("http://kojipkgs.fedoraproject.org/packages/${_realname}/${_fedoraver}/${_fedorarel}/src/${_realname}-${_fedoraver}-${_fedorarel}.src.rpm") +sha1sums=('c4b31e581c25bc497c915d6d81e60cfdbb9f529e') + +provides=("${_realname}") +install=install build() { - 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 + cd "${srcdir}" + rpmextract.sh "${_realname}-${_fedoraver}-${_fedorarel}.src.rpm" + bsdtar xf *.tar.bz2 } +package() { + cd "${srcdir}" + install -d "${pkgdir}"/usr/share/fonts/Type1 + install -m644 *.{pfb,pfm,afm} "${pkgdir}"/usr/share/fonts/Type1 +} |