14
0
mirror of https://github.com/belluzj/fantasque-sans.git synced 2024-12-22 15:31:31 +01:00

update package generation script

This commit is contained in:
Jany Belluz 2014-01-10 16:27:35 +01:00
parent 68147bba2a
commit 57dc1e688e
2 changed files with 7 additions and 7 deletions

Binary file not shown.

14
pkg.sh
View File

@ -8,10 +8,10 @@ esac
# But make it overridable from outside: # But make it overridable from outside:
pkg=${PKG:-${pkg}} pkg=${PKG:-${pkg}}
name='cosmic-sans-neue' name='fantasque-sans'
version='1.3.2' version='1.4'
desc='A font family with a great monospaced variant for programmers.' desc='A font family with a great monospaced variant for programmers.'
url=http://openfontlibrary.org/en/font/cosmic-sans-neue-mono url=http://openfontlibrary.org/en/font/fantasque-sans
fpm -s dir -t ${pkg} -a all \ fpm -s dir -t ${pkg} -a all \
-n ${name}-fonts \ -n ${name}-fonts \
@ -19,10 +19,10 @@ fpm -s dir -t ${pkg} -a all \
--url ${url} \ --url ${url} \
--description "${desc}" \ --description "${desc}" \
--license OFL \ --license OFL \
CosmicSansNeueMono.ttf=/usr/share/fonts/truetype/${name}/ \ FantasqueSansMono.ttf=/usr/share/fonts/truetype/${name}/ \
CosmicSansNeueMonoBold.ttf=/usr/share/fonts/truetype/${name}/ \ FantasqueSansMonoBold.ttf=/usr/share/fonts/truetype/${name}/ \
OTF/CosmicSansNeueMono.otf=/usr/share/fonts/opentype/${name}/ \ OTF/FantasqueSansMono.otf=/usr/share/fonts/opentype/${name}/ \
OTF/CosmicSansNeueMonoBold.otf=/usr/share/fonts/opentype/${name}/ \ OTF/FantasqueSansMonoBold.otf=/usr/share/fonts/opentype/${name}/ \
OFL.txt=/usr/share/doc/${name}/copyright \ OFL.txt=/usr/share/doc/${name}/copyright \
README.md=/usr/share/doc/${name}/ \ README.md=/usr/share/doc/${name}/ \
Specimen=/usr/share/doc/${name}/ Specimen=/usr/share/doc/${name}/