mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 06:07:00 +02:00
gsfonts: update to 20200910
This commit is contained in:
parent
0e05de954b
commit
0e16e47791
1 changed files with 35 additions and 13 deletions
|
@ -1,19 +1,41 @@
|
|||
# Template file for 'gsfonts'
|
||||
pkgname=gsfonts
|
||||
version=8.11
|
||||
revision=7
|
||||
makedepends="font-util font-misc-misc"
|
||||
depends="${makedepends}"
|
||||
short_desc="Ghostscript standard Type1 fonts"
|
||||
version=20200910
|
||||
revision=1
|
||||
depends="font-util"
|
||||
short_desc="URW+ base35 fonts"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="http://sourceforge.net/projects/gs-fonts/"
|
||||
distfiles="${SOURCEFORGE_SITE}/ghostscript/ghostscript-fonts-std-${version}.tar.gz"
|
||||
distfiles="${SOURCEFORGE_SITE}/gs-fonts/ghostscript-fonts-std-${version}.tar.gz"
|
||||
checksum=0eb6f356119f2e49b2563210852e17f57f9dcc5755f350a69a46a0d641a0c401
|
||||
font_dirs="/usr/share/fonts/Type1"
|
||||
license="AGPL-3.0-or-later"
|
||||
homepage="https://github.com/ArtifexSoftware/urw-base35-fonts"
|
||||
distfiles="https://github.com/ArtifexSoftware/urw-base35-fonts/archive/refs/tags/${version}.tar.gz"
|
||||
checksum=e0d9b7f11885fdfdc4987f06b2aa0565ad2a4af52b22e5ebf79e1a98abd0ae2f
|
||||
font_dirs="/usr/share/fonts/OTF/
|
||||
/usr/share/fonts/TTF
|
||||
/usr/share/fonts/Type1"
|
||||
|
||||
do_install() {
|
||||
vmkdir usr/share/fonts/Type1
|
||||
install -m644 ${wrksrc}/*.[ap]f[bm] ${DESTDIR}/usr/share/fonts/Type1
|
||||
for f in ${wrksrc}/fonts/*.otf; do
|
||||
vinstall $f 644 usr/share/fonts/OTF/
|
||||
done
|
||||
|
||||
for f in ${wrksrc}/fonts/*.ttf; do
|
||||
vinstall $f 644 usr/share/fonts/TTF/
|
||||
done
|
||||
|
||||
for f in ${wrksrc}/fonts/*.{afm,t1}; do
|
||||
vinstall $f 644 usr/share/fonts/Type1/
|
||||
done
|
||||
|
||||
for f in ${wrksrc}/appstream/*.xml; do
|
||||
vinstall $f 644 usr/share/metainfo/
|
||||
done
|
||||
|
||||
for f in ${wrksrc}/fontconfig/*.conf; do
|
||||
vmkdir etc/fonts/conf.d
|
||||
install -Dm 644 $f ${DESTDIR}/usr/share/fontconfig/conf.avail/61-${f##*/}
|
||||
ln -sf ../../../usr/share/fontconfig/conf.avail/61-${f##*/} ${DESTDIR}/etc/fonts/conf.d/
|
||||
done
|
||||
|
||||
vlicense COPYING
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue