summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel2015-07-25 03:16:00 +0200
committerManuel2015-07-25 03:16:00 +0200
commit28e16288759a0e00e35d71bbc1e8d22892de256c (patch)
tree18a0dec91a016e29ef253a30b4b8f297e97f451b
downloadaur-28e16288759a0e00e35d71bbc1e8d22892de256c.tar.gz
Initial import
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD26
-rw-r--r--ttf-brill.install15
3 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3499a737c58
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = ttf-brill
+ pkgdesc = Brill Typeface by John Hudson for Brill Publishing House (TrueType)
+ pkgver = 2.06
+ pkgrel = 1
+ url = http://www.brill.com/about/brill-fonts
+ install = ttf-brill.install
+ arch = any
+ license = custom
+ depends = fontconfig
+ depends = xorg-font-utils
+ source = http://www.brill.com/sites/default/files/brill_font_package_2_06.zip
+ sha256sums = b58eeb26ea43d9a020ac9891a395ff7364bac7215d0714910561b675e4947166
+
+pkgname = ttf-brill
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8a15597239f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: jdarch <jda -dot- cloud -plus- archlinux -at- gmail -dot- com>
+# Contributor: Manuel Hüsers <manuel.huesers@uni-ol.de>
+
+pkgname=ttf-brill
+pkgdesc="Brill Typeface by John Hudson for Brill Publishing House (TrueType)"
+pkgver=2.06
+pkgrel=1
+url="http://www.brill.com/about/brill-fonts"
+license=('custom')
+depends=('fontconfig' 'xorg-font-utils')
+arch=('any')
+install=$pkgname.install
+_ucpkgver=${pkgver//./_}
+_completeversion="2.06 051"
+
+source=("http://www.brill.com/sites/default/files/brill_font_package_${_ucpkgver}.zip")
+sha256sums=('b58eeb26ea43d9a020ac9891a395ff7364bac7215d0714910561b675e4947166')
+
+package() {
+ install -D "${srcdir}/Brill_Typeface_${pkgver}/Brill Roman ${_completeversion}.ttf" "${pkgdir}/usr/share/fonts/${pkgname}/Brill-Roman.ttf"
+ install -D "${srcdir}/Brill_Typeface_${pkgver}/Brill Italic ${_completeversion}.ttf" "${pkgdir}/usr/share/fonts/${pkgname}/Brill-Italic.ttf"
+ install -D "${srcdir}/Brill_Typeface_${pkgver}/Brill Bold ${_completeversion}.ttf" "${pkgdir}/usr/share/fonts/${pkgname}/Brill-Bold.ttf"
+ install -D "${srcdir}/Brill_Typeface_${pkgver}/Brill Bold Italic ${_completeversion}.ttf" "${pkgdir}/usr/share/fonts/${pkgname}/Brill-BoldItalic.ttf"
+ install -D "${srcdir}/Brill_Typeface_${pkgver}/00_Brill_Fonts_Read_Me_First.txt" "${pkgdir}/usr/share/licenses/${pkgname}/end_user_license.txt"
+ install -D "${srcdir}/Brill_Typeface_${pkgver}/Brill_Typeface_User_Guide_${pkgver}.pdf" "${pkgdir}/usr/share/doc/${pkgname}/Brill_Typeface_User_Guide.pdf"
+}
diff --git a/ttf-brill.install b/ttf-brill.install
new file mode 100644
index 00000000000..ac8bc475734
--- /dev/null
+++ b/ttf-brill.install
@@ -0,0 +1,15 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -fs >/dev/null
+ mkfontscale /usr/share/fonts/ttf-brill
+ mkfontdir /usr/share/fonts/ttf-brill
+ echo "done"
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}