google-fonts-ttf: drop noarch, xlint, install license
This commit is contained in:
parent
b42ccb9556
commit
aca7ce9114
1 changed files with 5 additions and 4 deletions
|
@ -1,27 +1,28 @@
|
||||||
# Template file for 'google-fonts-ttf'
|
# Template file for 'google-fonts-ttf'
|
||||||
pkgname=google-fonts-ttf
|
pkgname=google-fonts-ttf
|
||||||
version=20190605
|
version=20190605
|
||||||
revision=1
|
revision=2
|
||||||
archs=noarch
|
|
||||||
_githash=87776223497b72be361b5c08ba16e9c659209f37
|
_githash=87776223497b72be361b5c08ba16e9c659209f37
|
||||||
wrksrc="fonts-${_githash}"
|
wrksrc="fonts-${_githash}"
|
||||||
depends="font-util cantarell-fonts noto-fonts-ttf"
|
depends="font-util cantarell-fonts noto-fonts-ttf"
|
||||||
font_dirs="/usr/share/fonts/TTF"
|
|
||||||
short_desc="TrueType fonts from the Google Fonts project"
|
short_desc="TrueType fonts from the Google Fonts project"
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
|
license="Apache-2.0, OFL-1.1, custom:UFL-1.0"
|
||||||
homepage="https://www.google.com/fonts"
|
homepage="https://www.google.com/fonts"
|
||||||
license="Apache-2.0, OFL-1.1, UFL-1.0"
|
|
||||||
distfiles="https://github.com/google/fonts/archive/${_githash}.tar.gz"
|
distfiles="https://github.com/google/fonts/archive/${_githash}.tar.gz"
|
||||||
checksum=84b24d1efa96316f2aab9be9d5352923ab8c2622a15d38bdff22c518c6a1deb1
|
checksum=84b24d1efa96316f2aab9be9d5352923ab8c2622a15d38bdff22c518c6a1deb1
|
||||||
conflicts="fonts-croscore-ttf>=0 font-fira-ttf>=0 font-sourcecodepro>=0
|
conflicts="fonts-croscore-ttf>=0 font-fira-ttf>=0 font-sourcecodepro>=0
|
||||||
ttf-ubuntu-font-family>=0 font-vollkorn-ttf>=0"
|
ttf-ubuntu-font-family>=0 font-vollkorn-ttf>=0"
|
||||||
|
font_dirs="/usr/share/fonts/TTF"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmkdir usr/share/fonts/TTF
|
vmkdir usr/share/fonts/TTF
|
||||||
find . -type f -name '*.ttf' -exec install -Dm644 '{}' ${DESTDIR}/usr/share/fonts/TTF \;
|
find . -type f -name '*.ttf' -exec install -Dm644 '{}' ${DESTDIR}/usr/share/fonts/TTF \;
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# remove cantarell and noto fonts
|
# remove cantarell and noto fonts
|
||||||
rm -f ${DESTDIR}/usr/share/fonts/TTF/Cantarell-*.ttf
|
rm -f ${DESTDIR}/usr/share/fonts/TTF/Cantarell-*.ttf
|
||||||
rm -f ${DESTDIR}/usr/share/fonts/TTF/Noto*-*.ttf
|
rm -f ${DESTDIR}/usr/share/fonts/TTF/Noto*-*.ttf
|
||||||
|
vlicense ufl/ubuntu/LICENCE.txt
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue