summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD80
1 files changed, 80 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a26b2236542
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,80 @@
+# Maintainer: bohoomil <@zoho.com>
+
+pkgbase=ttf-alegreya-fonts-ibx
+pkgname=('ttf-alegreya-ibx' 'ttf-alegreya-sans-ibx')
+pkgver=1.003
+pkgrel=6
+depends=('fontconfig')
+pkgdesc="Alegreya and Alegreya Sans are modern font families designed by Juan Pablo del Peral."
+url="http://www.huertatipografica.com/"
+arch=('any')
+groups=('infinality-bundle-fonts-extra')
+license=('custom:OFL')
+# http://www.huertatipografica.com/free_download/24
+# http://www.google.com/fonts
+source=("alegreya-sans-ht-full-pack-ttf.zip::http://www.huertatipografica.com/free_download/24"
+ alegreya_ttf.zip::http://www.1001freefonts.com/d/5539/alegreya.zip
+ http://www.1001freefonts.com/d/5540/alegreya_sc.zip
+ 45-alegreya.conf
+ 45-alegreya-sans.conf
+ 90-tt-alegreya.conf
+ 90-tt-alegreya-sans.conf)
+sha1sums=('aef52d73d62044ff9dfbd16896eb0563fca9fe55'
+ '4d7c219c55dbe569e3fa0fb550ae16f3c70a1257'
+ '07634393ffd242ac79af11b7fac0b3f26a865919'
+ 'db08107ef08332b400ba3fcc5eb78fe0cd8ebebe'
+ '8454c43dce5f6df1ed2bc7fa8c1a1aa8223766a5'
+ 'a6edf94a16a1768b3f6bb4e3bf87987b4ee833ab'
+ '1f451f44fd9db1fd8fb1e5efacde25001cf7bd24')
+
+package_ttf-alegreya-ibx(){
+ pkgdesc="Alegreya is a serif typeface originally intended for literature. TrueType version."
+ conflicts=('otf-alegreya-ibx')
+
+ cd "${srcdir}"
+
+ install -m755 -d "${pkgdir}"/usr/share/licenses/"${pkgname}"
+ install -m644 OFL.txt "${pkgdir}"/usr/share/licenses/"${pkgname}"
+
+ install -m755 -d "${pkgdir}"/usr/share/fonts/"${pkgname}"
+ install -Dm644 *.ttf "${pkgdir}"/usr/share/fonts/"${pkgname}"
+
+ install -Dm644 *.ttf "${pkgdir}"/usr/share/fonts/"${pkgname}"
+
+ install -m755 -d "${pkgdir}"/etc/fonts/conf.avail
+ install -m755 -d "${pkgdir}"/etc/fonts/conf.d
+ install -m644 45-alegreya.conf \
+ "${pkgdir}"/etc/fonts/conf.avail/45-alegreya.conf
+ install -m644 90-tt-alegreya.conf \
+ "${pkgdir}"/etc/fonts/conf.avail/90-tt-alegreya.conf
+
+ cd "${pkgdir}"/etc/fonts/conf.d
+ ln -s ../conf.avail/45-alegreya.conf .
+ ln -s ../conf.avail/90-tt-alegreya.conf .
+}
+
+package_ttf-alegreya-sans-ibx(){
+ pkgdesc="Alegreya Sans is a humanist sans serif family with a calligraphic feeling that conveys a dynamic and varied rhythm. TrueType version."
+ conflicts=('otf-alegreya-sans-ibx')
+
+ cd "${srcdir}"
+
+ install -m755 -d "${pkgdir}"/usr/share/licenses/"${pkgname}"
+ install -m644 OFL.txt "${pkgdir}"/usr/share/licenses/"${pkgname}"
+
+ install -m755 -d "${pkgdir}"/usr/share/fonts/"${pkgname}"
+ install -Dm644 *.ttf "${pkgdir}"/usr/share/fonts/"${pkgname}"
+
+ install -Dm644 *.ttf "${pkgdir}"/usr/share/fonts/"${pkgname}"
+
+ install -m755 -d "${pkgdir}"/etc/fonts/conf.avail
+ install -m755 -d "${pkgdir}"/etc/fonts/conf.d
+ install -m644 45-alegreya-sans.conf \
+ "${pkgdir}"/etc/fonts/conf.avail/45-alegreya-sans.conf
+ install -m644 90-tt-alegreya-sans.conf \
+ "${pkgdir}"/etc/fonts/conf.avail/90-tt-alegreya-sans.conf
+
+ cd "${pkgdir}"/etc/fonts/conf.d
+ ln -s ../conf.avail/45-alegreya-sans.conf .
+ ln -s ../conf.avail/90-tt-alegreya-sans.conf .
+}