summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Dubois2017-05-12 11:03:28 -0400
committerErik Dubois2017-05-12 11:03:28 -0400
commit3df1c08ab13365f817fd537d4a33e7dff4ff0c53 (patch)
tree627fccc949c2b51ce48ee1ce190a5f3eb83a9c20
downloadaur-3df1c08ab13365f817fd537d4a33e7dff4ff0c53.tar.gz
initial commit
-rw-r--r--.SRCINFO20
-rwxr-xr-x45-pfennig.conf12
-rwxr-xr-x90-tt-pfennig.conf23
-rwxr-xr-xPKGBUILD37
4 files changed, 92 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..10386d4cf3e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+# Generated by mksrcinfo v8
+# Fri May 12 15:03:23 UTC 2017
+pkgbase = ttf-pfennig-ibx
+ pkgdesc = Pfennig is a humanist sans-serif font with support for Latin, Cyrillic, Greek and Hebrew character sets.
+ pkgver = 20120410
+ pkgrel = 5
+ url = http://openfontlibrary.org/
+ arch = any
+ groups = infinality-bundle-fonts-extra
+ license = custom:OFL
+ depends = fontconfig
+ source = http://openfontlibrary.org/assets/downloads/pfennig/8b5fa73ca4cf4cfa42d21b9f73f6060b/pfennig.zip
+ source = 45-pfennig.conf
+ source = 90-tt-pfennig.conf
+ sha1sums = 6aca5abbf1015497c83df9500992c0c8e151cb60
+ sha1sums = 792e6469cabb840a6b3958c7ea95ba778602ec51
+ sha1sums = a4408672f1c650a3de2da3ff9e8b1bc67a73c39e
+
+pkgname = ttf-pfennig-ibx
+
diff --git a/45-pfennig.conf b/45-pfennig.conf
new file mode 100755
index 00000000000..6c19284caac
--- /dev/null
+++ b/45-pfennig.conf
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+
+ <alias>
+ <family>Pfennig</family>
+ <default>
+ <family>sans-serif</family>
+ </default>
+ </alias>
+
+</fontconfig>
diff --git a/90-tt-pfennig.conf b/90-tt-pfennig.conf
new file mode 100755
index 00000000000..68e21455fb0
--- /dev/null
+++ b/90-tt-pfennig.conf
@@ -0,0 +1,23 @@
+<?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>Pfennig</string>
+ </test>
+ <edit name="antialias" 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>
+
+</fontconfig>
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100755
index 00000000000..07a5a8f185c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: bohoomil <@zoho.com>
+
+pkgname=ttf-pfennig-ibx
+pkgver=20120410
+pkgrel=5
+_sub=8b5fa73ca4cf4cfa42d21b9f73f6060b
+depends=('fontconfig')
+pkgdesc="Pfennig is a humanist sans-serif font with support for Latin, Cyrillic, Greek and Hebrew character sets."
+url="http://openfontlibrary.org/"
+arch=('any')
+license=('custom:OFL')
+groups=('infinality-bundle-fonts-extra')
+source=("http://openfontlibrary.org/assets/downloads/pfennig/${_sub}/pfennig.zip"
+ 45-pfennig.conf
+ 90-tt-pfennig.conf)
+sha1sums=('6aca5abbf1015497c83df9500992c0c8e151cb60'
+ '792e6469cabb840a6b3958c7ea95ba778602ec51'
+ 'a4408672f1c650a3de2da3ff9e8b1bc67a73c39e')
+
+package() {
+
+ install -D -m644 OFL.txt "${pkgdir}"/usr/share/licenses/"${pkgname}"/COPYING
+
+ install -d -m755 "${pkgdir}"/usr/share/fonts/"${pkgname}"
+ install -m644 *.ttf "${pkgdir}"/usr/share/fonts/"${pkgname}"
+
+ install -D -m644 45-pfennig.conf \
+ "${pkgdir}"/etc/fonts/conf.avail/45-pfennig.conf
+ install -D -m644 90-tt-pfennig.conf \
+ "${pkgdir}"/etc/fonts/conf.avail/90-tt-pfennig.conf
+
+ install -m755 -d "${pkgdir}"/etc/fonts/conf.d
+ cd "${pkgdir}"/etc/fonts/conf.d
+ ln -s ../conf.avail/45-pfennig.conf .
+ ln -s ../conf.avail/90-tt-pfennig.conf .
+}
+