Date: Sunday, February 5, 2012 @ 10:57:29 Author: bisson Revision: 149057
signed rebuild for free Added: gsfonts/trunk/install (from rev 149054, gsfonts/trunk/xfonts.install) Modified: gsfonts/trunk/PKGBUILD Deleted: gsfonts/trunk/xfonts.install ----------------+ PKGBUILD | 39 ++++++++++++++++++++++----------------- install | 15 +++++++++++++++ xfonts.install | 15 --------------- 3 files changed, 37 insertions(+), 32 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2012-02-05 15:50:04 UTC (rev 149056) +++ PKGBUILD 2012-02-05 15:57:29 UTC (rev 149057) @@ -1,29 +1,34 @@ # $Id$ -# Maintainer: Firmicus <francois.archlinux.org> +# Contributor: Firmicus <francois.archlinux.org> # Contributor: dorphell <dorph...@archlinux.org> +# Maintainer: Gaetan Bisson <bis...@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') +makedepends=('rpmextract') 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) -md5sums=('54935e7d6692792e414510490e3a0fa4') +source=("http://kojipkgs.fedoraproject.org/packages/${_realname}/${_fedoraver}/${_fedorarel}/src/${_realname}-${_fedoraver}-${_fedorarel}.src.rpm") +sha1sums=('c4b31e581c25bc497c915d6d81e60cfdbb9f529e') +provides=("${_realname}") +install=install + +build() { + cd "${srcdir}" + rpmextract.sh "${_realname}-${_fedoraver}-${_fedorarel}.src.rpm" + bsdtar xf *.tar.bz2 +} + package() { - cd $srcdir - /usr/bin/rpmextract.sh ${_realname}-${_fedoraver}-${_fedorarel}.src.rpm - bsdtar xf *.tar.bz2 - install -d ${pkgdir}/usr/share/fonts/Type1 - install -m644 *.{pfb,pfm,afm} \ - ${pkgdir}/usr/share/fonts/Type1/ + cd "${srcdir}" + install -d "${pkgdir}"/usr/share/fonts/Type1 + install -m644 *.{pfb,pfm,afm} "${pkgdir}"/usr/share/fonts/Type1 } Copied: gsfonts/trunk/install (from rev 149054, gsfonts/trunk/xfonts.install) =================================================================== --- install (rev 0) +++ install 2012-02-05 15:57:29 UTC (rev 149057) @@ -0,0 +1,15 @@ +post_install() { + echo -n "Updating font cache... " + fc-cache -sf > /dev/null + mkfontscale /usr/share/fonts/Type1 + mkfontdir /usr/share/fonts/Type1 + echo "done." +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} Deleted: xfonts.install =================================================================== --- xfonts.install 2012-02-05 15:50:04 UTC (rev 149056) +++ xfonts.install 2012-02-05 15:57:29 UTC (rev 149057) @@ -1,15 +0,0 @@ -post_install() { - echo -n "Updating font cache... " - fc-cache -sf > /dev/null - mkfontscale /usr/share/fonts/Type1 - mkfontdir /usr/share/fonts/Type1 - echo "done." -} - -post_upgrade() { - post_install $1 -} - -post_remove() { - post_install $1 -}