mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-27 07:52:55 +02:00
New package: google-fonts-ttf-20150721
This commit is contained in:
parent
d7931d7c29
commit
723fbc4bd4
1 changed files with 26 additions and 0 deletions
26
srcpkgs/google-fonts-ttf/template
Normal file
26
srcpkgs/google-fonts-ttf/template
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# Template file for 'google-fonts-ttf'
|
||||||
|
pkgname=google-fonts-ttf
|
||||||
|
version=20150721
|
||||||
|
revision=2
|
||||||
|
noarch=yes
|
||||||
|
_commit=7a1b0cb0c376ed7ca10b3c45b07dc3146136768c
|
||||||
|
wrksrc="fonts-${_commit}"
|
||||||
|
depends="font-util cantarell-fonts"
|
||||||
|
font_dirs="/usr/share/fonts/TTF"
|
||||||
|
short_desc="TrueType fonts from the Google Fonts project"
|
||||||
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
|
homepage="https://www.google.com/fonts"
|
||||||
|
license="Apache-2.0, OFL, UFL"
|
||||||
|
distfiles="https://github.com/google/fonts/archive/${_commit}.tar.gz"
|
||||||
|
checksum=75397941fcb502cffbb1ca83665112c1dd21eb172042fabc02c201e64e289615
|
||||||
|
replaces="google-fonts-ttf-git>=0"
|
||||||
|
conflicts="fonts-croscore-ttf>=0"
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vmkdir usr/share/fonts/TTF
|
||||||
|
find . -type f -name '*.ttf' -exec install -Dm644 '{}' ${DESTDIR}/usr/share/fonts/TTF \;
|
||||||
|
}
|
||||||
|
post_install() {
|
||||||
|
# remove cantarell fonts
|
||||||
|
rm -f ${DESTDIR}/usr/share/fonts/TTF/Cantarell-*.ttf
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue