diff options
author | solaraquarion | 2017-02-27 11:46:17 -0500 |
---|---|---|
committer | solaraquarion | 2017-02-27 11:46:17 -0500 |
commit | 911108abc2f7e914535f1999afccda3ef7dda2e3 (patch) | |
tree | 44077b467e5ad0743a3eb8422e7f19e1bf91c60a | |
download | aur-911108abc2f7e914535f1999afccda3ef7dda2e3.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 26 | ||||
-rw-r--r-- | 45-dejavu.conf | 26 | ||||
-rw-r--r-- | 90-tt-dejavu.conf | 228 | ||||
-rw-r--r-- | PKGBUILD | 43 |
4 files changed, 323 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9860ed499c2d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,26 @@ +# Generated by mksrcinfo v8 +# Mon Feb 27 16:45:48 UTC 2017 +pkgbase = ttf-dejavu-ib + pkgdesc = Font family based on the Bitstream Vera Fonts with a wider range of characters. Re-packed for infinality-bundle-fonts. TrueType version. + pkgver = 2.37 + pkgrel = 1 + url = http://dejavu-fonts.org/wiki/Main_Page + arch = any + groups = infinality-bundle-fonts + license = custom + depends = fontconfig + provides = ttf-font + provides = ttf-dejavu + provides = dejavu-ib + conflicts = ttf-dejavu + conflicts = t1-dejavu-ib + replaces = ttf-dejavu + source = https://superb-sea2.dl.sourceforge.net/project/dejavu/dejavu/2.37/dejavu-fonts-ttf-2.37.tar.bz2 + source = 45-dejavu.conf + source = 90-tt-dejavu.conf + sha1sums = 7fa15e7b9676fc3915338c41e76ad454c344fff5 + sha1sums = 4072385eb6d18754f932bda5634da259ab875a1b + sha1sums = a6332f56d9d95636e9ac99643b3a241ba08f3499 + +pkgname = ttf-dejavu-ib + diff --git a/45-dejavu.conf b/45-dejavu.conf new file mode 100644 index 000000000000..a5c3d9d3d50d --- /dev/null +++ b/45-dejavu.conf @@ -0,0 +1,26 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + + <alias> + <family>DejaVu Sans</family> + <default> + <family>sans-serif</family> + </default> + </alias> + + <alias> + <family>DejaVu Sans Mono</family> + <default> + <family>monospace</family> + </default> + </alias> + + <alias> + <family>DejaVu Serif</family> + <default> + <family>serif</family> + </default> + </alias> + +</fontconfig> diff --git a/90-tt-dejavu.conf b/90-tt-dejavu.conf new file mode 100644 index 000000000000..c722d396748c --- /dev/null +++ b/90-tt-dejavu.conf @@ -0,0 +1,228 @@ +<?xml version='1.0'?> +<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> +<fontconfig> + + <!-- DejaVu Sans --> + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>DejaVu Sans</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>DejaVu Sans</string> + </test> + <test name="pixelsize" compare="less"> + <double>7.5</double> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintnone</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <!-- DejaVu Sans Condensed --> + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>DejaVu Sans Condensed</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>DejaVu Sans Condensed</string> + </test> + <test name="pixelsize" compare="less"> + <double>7.5</double> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintnone</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <!-- DejaVu Sans Mono --> + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>DejaVu Sans Mono</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>DejaVu Sans Mono</string> + </test> + <test name="pixelsize" compare="more"> + <double>7.5</double> + </test> + <test name="pixelsize" compare="less"> + <double>14.5</double> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintfull</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>DejaVu Sans Mono</string> + </test> + <test name="pixelsize" compare="less"> + <double>7.5</double> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintnone</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="family"> + <string>DejaVu Sans Mono</string> + </test> + <test name="pixelsize" compare="less_eq"> + <double>12.0</double> + </test> + <edit name="lcd_filter" mode="assign"> + <const>lcdlegacy</const> + </edit> + </match> + + <!-- DejaVu Serif --> + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>DejaVu Serif</string> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintslight</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + + <match target="font"> + <test name="force_autohint"> + <bool>false</bool> + </test> + <test name="family"> + <string>DejaVu Serif</string> + </test> + <test name="pixelsize" compare="less"> + <double>7.5</double> + </test> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintnone</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + </match> + +</fontconfig> diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ee1ad8bef1da --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,43 @@ +# Contributor: Jan de Groot <jgc@archlinux.org> +# Contributor: Michal Krenek <mikos@sg1.cz> +# Maintainer: bohoomil <@zoho.com> + +pkgname=ttf-dejavu-ib +pkgver=2.37 +pkgrel=1 +pkgdesc="Font family based on the Bitstream Vera Fonts with a wider range of characters. Re-packed for infinality-bundle-fonts. TrueType version." +url="http://dejavu-fonts.org/wiki/Main_Page" +arch=('any') +depends=('fontconfig') +groups=('infinality-bundle-fonts') +conflicts=('ttf-dejavu' 't1-dejavu-ib') +provides=('ttf-font' 'ttf-dejavu' 'dejavu-ib') +replaces=('ttf-dejavu') +license=('custom') +source=('https://superb-sea2.dl.sourceforge.net/project/dejavu/dejavu/2.37/dejavu-fonts-ttf-2.37.tar.bz2' + '45-dejavu.conf' + '90-tt-dejavu.conf') +sha1sums=('7fa15e7b9676fc3915338c41e76ad454c344fff5' + '4072385eb6d18754f932bda5634da259ab875a1b' + 'a6332f56d9d95636e9ac99643b3a241ba08f3499') + +package() { + cd "${srcdir}"/dejavu-fonts-ttf-${pkgver} + install -dm755 "${pkgdir}"/usr/share/fonts/"${pkgname}" + install -m644 ttf/*.ttf "${pkgdir}"/usr/share/fonts/"${pkgname}" + + install -Dm644 LICENSE \ + "${pkgdir}"/usr/share/licenses/"${pkgname}"/COPYING + + install -dm755 "${pkgdir}"/etc/fonts/conf.avail + install -dm755 "${pkgdir}"/etc/fonts/conf.d + install -m644 "${srcdir}"/45-dejavu.conf \ + "${pkgdir}"/etc/fonts/conf.avail/45-dejavu.conf + install -m644 "${srcdir}/"90-tt-dejavu.conf \ + "${pkgdir}"/etc/fonts/conf.avail/90-tt-dejavu.conf + + cd "${pkgdir}"/etc/fonts/conf.d + ln -s ../conf.avail/45-dejavu.conf . + ln -s ../conf.avail/90-tt-dejavu.conf . +} + |