2013-11-24 17:00:06 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# choose package target based on Distro
|
|
|
|
case $( lsb_release -si ) in
|
|
|
|
Ubuntu|Debian) pkg=deb ;;
|
|
|
|
Fedora|RedHat|SLES) pkg=rpm ;;
|
|
|
|
esac
|
|
|
|
# But make it overridable from outside:
|
|
|
|
pkg=${PKG:-${pkg}}
|
|
|
|
|
2014-01-10 16:27:35 +01:00
|
|
|
name='fantasque-sans'
|
2018-01-07 19:00:45 +01:00
|
|
|
version='1.7.2'
|
2013-11-24 17:00:06 +01:00
|
|
|
desc='A font family with a great monospaced variant for programmers.'
|
2014-01-10 16:27:35 +01:00
|
|
|
url=http://openfontlibrary.org/en/font/fantasque-sans
|
2013-11-24 17:00:06 +01:00
|
|
|
|
|
|
|
fpm -s dir -t ${pkg} -a all \
|
|
|
|
-n ${name}-fonts \
|
|
|
|
-v ${version} \
|
|
|
|
--url ${url} \
|
|
|
|
--description "${desc}" \
|
|
|
|
--license OFL \
|
2017-07-10 18:47:01 +02:00
|
|
|
Variants/Normal/TTF/FantasqueSansMono-Regular.ttf=/usr/share/fonts/truetype/${name}/ \
|
|
|
|
Variants/Normal/TTF/FantasqueSansMono-Bold.ttf=/usr/share/fonts/truetype/${name}/ \
|
|
|
|
Variants/Normal/TTF/FantasqueSansMono-Italic.ttf=/usr/share/fonts/truetype/${name}/ \
|
|
|
|
Variants/Normal/TTF/FantasqueSansMono-BoldItalic.ttf=/usr/share/fonts/truetype/${name}/ \
|
|
|
|
Variants/Normal/OTF/FantasqueSansMono-Regular.otf=/usr/share/fonts/opentype/${name}/ \
|
|
|
|
Variants/Normal/OTF/FantasqueSansMono-Bold.otf=/usr/share/fonts/opentype/${name}/ \
|
|
|
|
Variants/Normal/OTF/FantasqueSansMono-Italic.otf=/usr/share/fonts/opentype/${name}/ \
|
|
|
|
Variants/Normal/OTF/FantasqueSansMono-BoldItalic.otf=/usr/share/fonts/opentype/${name}/ \
|
2017-07-10 13:12:12 +02:00
|
|
|
LICENSE.txt=/usr/share/doc/${name}/copyright \
|
2013-11-24 17:00:06 +01:00
|
|
|
README.md=/usr/share/doc/${name}/ \
|
2017-07-10 18:47:01 +02:00
|
|
|
CHANGELOG.md=/usr/share/doc/${name}/ \
|
|
|
|
Specimen=/usr/share/doc/${name}/
|