summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Dubois2017-05-11 09:51:18 -0400
committerErik Dubois2017-05-11 09:51:18 -0400
commit14777da5d4a112f3f204b14c3003ced74be6acf5 (patch)
tree0176409193286da42ace9e9c75e45ccf67cbab20
downloadaur-14777da5d4a112f3f204b14c3003ced74be6acf5.tar.gz
initial commit
-rw-r--r--.SRCINFO21
-rw-r--r--45-triod-postnaja.conf12
-rw-r--r--90-tt-triod-postnaja.conf23
-rw-r--r--PKGBUILD37
4 files changed, 93 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..cec4f29cc42
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+# Generated by mksrcinfo v8
+# Thu May 11 13:51:14 UTC 2017
+pkgbase = ttf-triod-postnaja-ibx
+ pkgdesc = Triod Postnaja attempts to mimic the typefaces used to publish Old Church Slavonic service books.
+ pkgver = 20110805
+ pkgrel = 7
+ url = http://openfontlibrary.org/en/font/triod-postnaja
+ arch = any
+ groups = infinality-bundle-fonts-extra
+ license = custom:OFL
+ depends = fontconfig
+ conflicts = ttf-triod-postnaja
+ source = http://openfontlibrary.org/assets/downloads/triod-postnaja/bb24f868ae4d904c0359d46c22e49c1e/triod-postnaja.zip
+ source = 45-triod-postnaja.conf
+ source = 90-tt-triod-postnaja.conf
+ sha1sums = cb085b03f590a4f0c0562732e1010dfc66e5397e
+ sha1sums = 08ad084d79d51f91a6d647045b1ce933a458520e
+ sha1sums = b984296121412779bf6766247c969eae70310a7b
+
+pkgname = ttf-triod-postnaja-ibx
+
diff --git a/45-triod-postnaja.conf b/45-triod-postnaja.conf
new file mode 100644
index 00000000000..23f6d81327f
--- /dev/null
+++ b/45-triod-postnaja.conf
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+
+ <alias>
+ <family>TriodPostnaja</family>
+ <default>
+ <family>fantasy</family>
+ </default>
+ </alias>
+
+</fontconfig>
diff --git a/90-tt-triod-postnaja.conf b/90-tt-triod-postnaja.conf
new file mode 100644
index 00000000000..a73bf89d9cb
--- /dev/null
+++ b/90-tt-triod-postnaja.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>TriodPostnaja</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 100644
index 00000000000..5dfea38ef30
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: bohoomil <@zoho.com>
+
+pkgname=ttf-triod-postnaja-ibx
+pkgver=20110805
+pkgrel=7
+depends=('fontconfig')
+pkgdesc="Triod Postnaja attempts to mimic the typefaces used to publish Old Church Slavonic service books."
+url="http://openfontlibrary.org/en/font/triod-postnaja"
+arch=('any')
+groups=('infinality-bundle-fonts-extra')
+conflicts=('ttf-triod-postnaja')
+license=('custom:OFL')
+source=(http://openfontlibrary.org/assets/downloads/triod-postnaja/bb24f868ae4d904c0359d46c22e49c1e/triod-postnaja.zip
+ 45-triod-postnaja.conf
+ 90-tt-triod-postnaja.conf)
+sha1sums=('cb085b03f590a4f0c0562732e1010dfc66e5397e'
+ '08ad084d79d51f91a6d647045b1ce933a458520e'
+ 'b984296121412779bf6766247c969eae70310a7b')
+
+package(){
+
+ install -D -m644 LICENSE.txt \
+ "${pkgdir}"/usr/share/licenses/"${pkgname}"/COPYING
+
+ install -D -m644 TriodPostnaja.ttf \
+ "${pkgdir}"/usr/share/fonts/"${pkgname}"/TriodPostanaja.ttf
+
+ install -D -m644 45-triod-postnaja.conf \
+ "${pkgdir}"/etc/fonts/conf.avail/45-triod-postnaja.conf
+ install -D -m644 90-tt-triod-postnaja.conf \
+ "${pkgdir}"/etc/fonts/conf.avail/90-tt-triod-postnaja.conf
+
+ install -m755 -d "${pkgdir}"/etc/fonts/conf.d
+ cd "${pkgdir}"/etc/fonts/conf.d
+ ln -s ../conf.avail/45-triod-postnaja.conf .
+ ln -s ../conf.avail/90-tt-triod-postnaja.conf .
+}