mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 08:03:51 +02:00
google-fonts-ttf-git: update to 20150315
Switch to Google's new official GitHub repository.
This commit is contained in:
parent
15d8dc3d95
commit
ec794dd567
1 changed files with 4 additions and 7 deletions
|
@ -1,11 +1,10 @@
|
||||||
# Template file for 'google-fonts-ttf-git'
|
# Template file for 'google-fonts-ttf-git'
|
||||||
pkgname=google-fonts-ttf-git
|
pkgname=google-fonts-ttf-git
|
||||||
version=20141116
|
version=20150315
|
||||||
revision=1
|
revision=1
|
||||||
noarch=yes
|
noarch=yes
|
||||||
hostmakedepends="git"
|
hostmakedepends="git"
|
||||||
makedepends="font-util xbps-triggers"
|
depends="font-util cantarell-fonts"
|
||||||
depends="${makedepends} cantarell-fonts"
|
|
||||||
font_dirs="/usr/share/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>"
|
||||||
|
@ -14,16 +13,14 @@ license="Apache-2.0, OFL, UFL"
|
||||||
conflicts="fonts-croscore-ttf>=0"
|
conflicts="fonts-croscore-ttf>=0"
|
||||||
|
|
||||||
do_fetch() {
|
do_fetch() {
|
||||||
local url="git://github.com/w0ng/googlefontdirectory.git"
|
local url="git://github.com/google/fonts.git"
|
||||||
msg_normal "Fetching source from ${url}...\n"
|
msg_normal "Fetching source from ${url}...\n"
|
||||||
git clone ${url} ${pkgname}-${version}
|
git clone ${url} ${wrksrc}
|
||||||
}
|
}
|
||||||
|
|
||||||
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 fonts
|
# remove cantarell fonts
|
||||||
rm -f ${DESTDIR}/usr/share/fonts/TTF/Cantarell-*.ttf
|
rm -f ${DESTDIR}/usr/share/fonts/TTF/Cantarell-*.ttf
|
||||||
|
|
Loading…
Add table
Reference in a new issue