summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Dubois2017-05-10 10:25:56 -0400
committerErik Dubois2017-05-10 10:25:56 -0400
commita02311eb854ca39f4d0843ea3ae911aa96bd6c1c (patch)
tree08240c71ec6a49dd55fbf15babdd6a9065c8e08e
downloadaur-a02311eb854ca39f4d0843ea3ae911aa96bd6c1c.tar.gz
initial commit
-rw-r--r--.SRCINFO33
-rw-r--r--45-yanone-kaffeesatz.conf12
-rw-r--r--90-non-tt-yanone-kaffeesatz.conf23
-rw-r--r--90-tt-yanone-kaffeesatz.conf26
-rw-r--r--PKGBUILD72
5 files changed, 166 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..61ba38882cf6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,33 @@
+# Generated by mksrcinfo v8
+# Wed May 10 14:25:47 UTC 2017
+pkgbase = ttf-yanone-kaffeesatz-ibx
+ pkgdesc = Yanone Kaffeesatz was first published in 2004. Its Bold is reminiscent of 1920s coffee house typography, while the rather thin fonts bridge the gap to present times.
+ pkgver = 1.002
+ pkgrel = 5
+ url = http://www.yanone.de/
+ arch = any
+ groups = infinality-bundle-fonts-extra
+ license = custom:OFL
+ depends = fontconfig
+ source = git://github.com/alexeiva/yanone-kaffeesatz.git
+ source = 45-yanone-kaffeesatz.conf
+ source = 90-non-tt-yanone-kaffeesatz.conf
+ source = 90-tt-yanone-kaffeesatz.conf
+ sha1sums = SKIP
+ sha1sums = 76df22b5dbc02abda1bbc6c887d848958695be9c
+ sha1sums = 4cc8a9806bb0718c09ccc987a981fc427671c155
+ sha1sums = c83a6771a50d2b7c95e7fb872725ce430beb1bd9
+
+pkgname = otf-yanone-kaffeesatz-ibx
+ pkgdesc = Yanone Kaffeesatz was first published in 2004. Its Bold is reminiscent of 1920s coffee house typography, while the rather thin fonts bridge the gap to present times. OpenType version.
+ conflicts = otf-yanone-kaffeesatz
+ conflicts = ttf-yanone-kaffeesatz-ibx
+ conflicts = ttf-yanone_kaffeesatz_zerohack
+ replaces = otf-yanone-kaffeesatz
+
+pkgname = ttf-yanone-kaffeesatz-ibx
+ pkgdesc = Yanone Kaffeesatz was first published in 2004. Its Bold is reminiscent of 1920s coffee house typography, while the rather thin fonts bridge the gap to present times. TruenType version.
+ conflicts = otf-yanone-kaffeesatz
+ conflicts = otf-yanone-kaffeesatz-ibx
+ conflicts = ttf-yanone_kaffeesatz_zerohack
+
diff --git a/45-yanone-kaffeesatz.conf b/45-yanone-kaffeesatz.conf
new file mode 100644
index 000000000000..cbe29b0b5c45
--- /dev/null
+++ b/45-yanone-kaffeesatz.conf
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+
+ <alias>
+ <family>Yanone Kaffeesatz</family>
+ <default>
+ <family>fantasy</family>
+ </default>
+ </alias>
+
+</fontconfig>
diff --git a/90-non-tt-yanone-kaffeesatz.conf b/90-non-tt-yanone-kaffeesatz.conf
new file mode 100644
index 000000000000..fae03f2b70c1
--- /dev/null
+++ b/90-non-tt-yanone-kaffeesatz.conf
@@ -0,0 +1,23 @@
+<?xml version='1.0'?>
+<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
+<fontconfig>
+
+ <match target="font">
+ <test name="family">
+ <string>Yanone Kaffeesatz</string>
+ </test>
+ <edit name="autohint" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="hintstyle" mode="assign">
+ <const>hintslight</const>
+ </edit>
+ <edit name="hinting" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="antialias" mode="assign">
+ <bool>true</bool>
+ </edit>
+ </match>
+
+</fontconfig>
diff --git a/90-tt-yanone-kaffeesatz.conf b/90-tt-yanone-kaffeesatz.conf
new file mode 100644
index 000000000000..1fa34a60bd1a
--- /dev/null
+++ b/90-tt-yanone-kaffeesatz.conf
@@ -0,0 +1,26 @@
+<?xml version='1.0'?>
+<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
+<fontconfig>
+
+ <match target="font">
+ <test name="force_autohint">
+ <bool>false</bool>
+ </test>
+ <test name="family">
+ <string>Yanone Kaffeesatz</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>hintfull</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..47854dc7eadf
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,72 @@
+# Maintainer: bohoomil <@zoho.com>
+
+pkgbase=ttf-yanone-kaffeesatz-ibx
+pkgname=('otf-yanone-kaffeesatz-ibx' 'ttf-yanone-kaffeesatz-ibx')
+pkgver=1.002
+pkgrel=5
+depends=('fontconfig')
+pkgdesc="Yanone Kaffeesatz was first published in 2004. Its Bold is reminiscent of 1920s coffee house typography, while the rather thin fonts bridge the gap to present times."
+url="http://www.yanone.de/"
+arch=('any')
+license=('custom:OFL')
+groups=('infinality-bundle-fonts-extra')
+# https://www.fontsquirrel.com/fonts/yanone-kaffeesatz
+source=(git://github.com/alexeiva/yanone-kaffeesatz.git
+ 45-yanone-kaffeesatz.conf
+ 90-non-tt-yanone-kaffeesatz.conf
+ 90-tt-yanone-kaffeesatz.conf)
+sha1sums=('SKIP'
+ '76df22b5dbc02abda1bbc6c887d848958695be9c'
+ '4cc8a9806bb0718c09ccc987a981fc427671c155'
+ 'c83a6771a50d2b7c95e7fb872725ce430beb1bd9')
+
+package_otf-yanone-kaffeesatz-ibx(){
+ pkgdesc="Yanone Kaffeesatz was first published in 2004. Its Bold is reminiscent of 1920s coffee house typography, while the rather thin fonts bridge the gap to present times. OpenType version."
+ conflicts=('otf-yanone-kaffeesatz' 'ttf-yanone-kaffeesatz-ibx' 'ttf-yanone_kaffeesatz_zerohack')
+ replaces=('otf-yanone-kaffeesatz')
+
+ cd "${srcdir}/yanone-kaffeesatz"
+
+ install -d -m755 "${pkgdir}"/usr/share/licenses/"${pkgname}"
+ install -m644 OFL.txt "${pkgdir}"/usr/share/licenses/"${pkgname}/COPYING"
+
+ install -d -m755 "${pkgdir}"/usr/share/fonts/"${pkgname}"
+ install -m644 fonts/otf/*.otf "${pkgdir}"/usr/share/fonts/"${pkgname}"
+
+ cd "${srcdir}"
+ install -m755 -d "${pkgdir}"/etc/fonts/conf.avail
+ install -m755 -d "${pkgdir}"/etc/fonts/conf.d
+ install -m644 45-yanone-kaffeesatz.conf \
+ "${pkgdir}"/etc/fonts/conf.avail/45-yanone-kaffeesatz.conf
+ install -m644 90-non-tt-yanone-kaffeesatz.conf \
+ "${pkgdir}"/etc/fonts/conf.avail/90-non-tt-yanone-kaffeesatz.conf
+
+ cd "${pkgdir}"/etc/fonts/conf.d
+ ln -s ../conf.avail/45-yanone-kaffeesatz.conf .
+ ln -s ../conf.avail/90-non-tt-yanone-kaffeesatz.conf .
+}
+
+package_ttf-yanone-kaffeesatz-ibx(){
+ pkgdesc="Yanone Kaffeesatz was first published in 2004. Its Bold is reminiscent of 1920s coffee house typography, while the rather thin fonts bridge the gap to present times. TruenType version."
+ conflicts=('otf-yanone-kaffeesatz' 'otf-yanone-kaffeesatz-ibx' 'ttf-yanone_kaffeesatz_zerohack')
+
+ cd "${srcdir}/yanone-kaffeesatz"
+
+ install -d -m755 "${pkgdir}"/usr/share/licenses/"${pkgname}"
+ install -m644 OFL.txt "${pkgdir}"/usr/share/licenses/"${pkgname}/COPYING"
+
+ install -d -m755 "${pkgdir}"/usr/share/fonts/"${pkgname}"
+ install -m644 fonts/ttf/*.ttf "${pkgdir}"/usr/share/fonts/"${pkgname}"
+
+ cd "${srcdir}"
+ install -m755 -d "${pkgdir}"/etc/fonts/conf.avail
+ install -m755 -d "${pkgdir}"/etc/fonts/conf.d
+ install -m644 45-yanone-kaffeesatz.conf \
+ "${pkgdir}"/etc/fonts/conf.avail/45-yanone-kaffeesatz.conf
+ install -m644 90-tt-yanone-kaffeesatz.conf \
+ "${pkgdir}"/etc/fonts/conf.avail/90-tt-yanone-kaffeesatz.conf
+
+ cd "${pkgdir}"/etc/fonts/conf.d
+ ln -s ../conf.avail/45-yanone-kaffeesatz.conf .
+ ln -s ../conf.avail/90-tt-yanone-kaffeesatz.conf .
+}