Date: Tuesday, July 26, 2016 @ 22:01:25 Author: bisson Revision: 272499
archrelease: copy trunk to testing-any Added: gsfonts/repos/testing-any/ gsfonts/repos/testing-any/PKGBUILD (from rev 272498, gsfonts/trunk/PKGBUILD) gsfonts/repos/testing-any/install (from rev 272498, gsfonts/trunk/install) ----------+ PKGBUILD | 27 +++++++++++++++++++++++++++ install | 13 +++++++++++++ 2 files changed, 40 insertions(+) Copied: gsfonts/repos/testing-any/PKGBUILD (from rev 272498, gsfonts/trunk/PKGBUILD) =================================================================== --- testing-any/PKGBUILD (rev 0) +++ testing-any/PKGBUILD 2016-07-26 22:01:25 UTC (rev 272499) @@ -0,0 +1,27 @@ +# $Id$ +# Maintainer: Gaetan Bisson <bis...@archlinux.org> +# Contributor: Firmicus <francois.archlinux.org> +# Contributor: dorphell <dorph...@archlinux.org> + +pkgname=gsfonts +_pkgname=urw-core35-fonts +pkgver=20160531 +pkgrel=1 +pkgdesc='URW+ Postscript core35 fonts' +url='http://git.ghostscript.com/?p=urw-core35-fonts.git' +arch=('any') +license=('AGPL3') +makedepends=('git') +depends=('xorg-font-utils' 'fontconfig') +source=("git://git.ghostscript.com/${_pkgname}.git#commit=79bcdfb34fbce12b592cce389fa7a19da6b5b018") +sha1sums=('SKIP') + +install=install + +package() { + cd "${srcdir}/${_pkgname}" + install -d "${pkgdir}"/usr/share/fonts/{Type1,OTF,TTF} + install -m644 *.{afm,t1} "${pkgdir}"/usr/share/fonts/Type1 + install -m644 *.otf "${pkgdir}"/usr/share/fonts/OTF + install -m644 *.ttf "${pkgdir}"/usr/share/fonts/TTF +} Copied: gsfonts/repos/testing-any/install (from rev 272498, gsfonts/trunk/install) =================================================================== --- testing-any/install (rev 0) +++ testing-any/install 2016-07-26 22:01:25 UTC (rev 272499) @@ -0,0 +1,13 @@ +post_install() { + fc-cache -s > /dev/null + mkfontscale /usr/share/fonts/Type1 + mkfontdir /usr/share/fonts/Type1 +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}