diff options
author | Götz Christ | 2015-08-23 13:53:06 -0500 |
---|---|---|
committer | Götz Christ | 2015-08-23 13:53:06 -0500 |
commit | bd26eb3ba46b0915d50c594ca95d0baa33ab3d90 (patch) | |
tree | fd1f41f570982c7cfaf478935d01a71ab695287d | |
download | aur-bd26eb3ba46b0915d50c594ca95d0baa33ab3d90.tar.gz |
Import to AUR4
-rw-r--r-- | .SRCINFO | 55 | ||||
-rw-r--r-- | OFL.license | 97 | ||||
-rw-r--r-- | PKGBUILD | 72 | ||||
-rw-r--r-- | ttf.install | 15 |
4 files changed, 239 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1da5eafa3a29 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,55 @@ +pkgbase = lohit-fonts + pkgdesc = Indic TrueType fonts from Fedora Project + pkgver = 2.95.1 + pkgrel = 1 + url = https://fedorahosted.org/lohit/ + install = ttf.install + arch = any + license = custom: OFL + depends = fontconfig + depends = xorg-font-utils + source = OFL.license + source = https://fedorahosted.org/releases/l/o/lohit/lohit-assamese-ttf-2.91.1.tar.gz + source = https://fedorahosted.org/releases/l/o/lohit/lohit-bengali-ttf-2.91.1.tar.gz + source = https://fedorahosted.org/releases/l/o/lohit/lohit-devanagari-ttf-2.95.1.tar.gz + source = https://fedorahosted.org/releases/l/o/lohit/lohit-gujarati-ttf-2.92.2.tar.gz + source = https://fedorahosted.org/releases/l/o/lohit/lohit-gurmukhi-ttf-2.91.0.tar.gz + source = https://fedorahosted.org/releases/l/o/lohit/lohit-hindi-ttf-2.4.3.tar.gz + source = https://fedorahosted.org/releases/l/o/lohit/lohit-kannada-ttf-2.5.3.tar.gz + source = https://fedorahosted.org/releases/l/o/lohit/lohit-kashmiri-ttf-2.4.3.tar.gz + source = https://fedorahosted.org/releases/l/o/lohit/lohit-konkani-ttf-2.4.3.tar.gz + source = https://fedorahosted.org/releases/l/o/lohit/lohit-maithili-ttf-2.4.3.tar.gz + source = https://fedorahosted.org/releases/l/o/lohit/lohit-malayalam-ttf-2.92.0.tar.gz + source = https://fedorahosted.org/releases/l/o/lohit/lohit-marathi-ttf-2.94.0.tar.gz + source = https://fedorahosted.org/releases/l/o/lohit/lohit-nepali-ttf-2.94.0.tar.gz + source = https://fedorahosted.org/releases/l/o/lohit/lohit-oriya-ttf-2.5.3.tar.gz + source = https://fedorahosted.org/releases/l/o/lohit/lohit-odia-ttf-2.91.0.tar.gz + source = https://fedorahosted.org/releases/l/o/lohit/lohit-punjabi-ttf-2.5.3.tar.gz + source = https://fedorahosted.org/releases/l/o/lohit/lohit-sindhi-ttf-2.4.3.tar.gz + source = https://fedorahosted.org/releases/l/o/lohit/lohit-tamil-ttf-2.91.0.tar.gz + source = https://fedorahosted.org/releases/l/o/lohit/lohit-tamil-classical-ttf-2.5.3.tar.gz + source = https://fedorahosted.org/releases/l/o/lohit/lohit-telugu-ttf-2.5.3.tar.gz + md5sums = 6ed93967ff0dc6dd9c8d31c17f817a06 + md5sums = ca22ec5e42db06e8c43c74b988d0bf0d + md5sums = f8871fa3df4578234c5efb26c3d01311 + md5sums = 899bbafce9fa71cbb19b9687d354dcef + md5sums = a2a5c30c0b1a68d59ead3cf26ce88d0b + md5sums = 2397138cb546b638adf33e8a32071e54 + md5sums = dbfcfee6fd10045e523decb7657e4a75 + md5sums = f38bec5fe7d0d850fd2cb4760f4e47ed + md5sums = 442a84402d7a7db8a4d76a97aeb650db + md5sums = a9ddcde9f5a367063fc7db3eb075791c + md5sums = 57420207e4560b1b3798fdd429d34724 + md5sums = 81fd6a485f2cb3ca5119b6ad58fc63fe + md5sums = 42c852ba334635d7896d4566851a2ce9 + md5sums = f4908b5ff918551fd2212cd55af67c08 + md5sums = 57bca2a52f411e1c2420482814806d85 + md5sums = 25078eb6efce26ecac77e19592860a38 + md5sums = deab8c052af328248e8f619178ff890d + md5sums = 8070d3e151e3ae0a9c3c05a25a38bc1f + md5sums = 59febbb742c626096fa990077202f8f0 + md5sums = 8042f874e86a87623adaea4780f03b29 + md5sums = 4e0600fd5f26fe114314e8a050b51ba5 + +pkgname = lohit-fonts + diff --git a/OFL.license b/OFL.license new file mode 100644 index 000000000000..f1a20ac1a8ad --- /dev/null +++ b/OFL.license @@ -0,0 +1,97 @@ +Copyright (c) <dates>, <Copyright Holder> (<URL|email>),
+with Reserved Font Name <Reserved Font Name>.
+Copyright (c) <dates>, <additional Copyright Holder> (<URL|email>),
+with Reserved Font Name <additional Reserved Font Name>.
+Copyright (c) <dates>, <additional Copyright Holder> (<URL|email>).
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+http://scripts.sil.org/OFL
+
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9092ce3126f3 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,72 @@ +# Contributor: noonov <noonov@gmail.com> + +pkgname=lohit-fonts +pkgver=2.95.1 +pkgrel=1 +pkgdesc="Indic TrueType fonts from Fedora Project" +arch=('any') +url="https://fedorahosted.org/lohit/" +license=('custom: OFL') +depends=('fontconfig' 'xorg-font-utils') +install=ttf.install +_fhosted="https://fedorahosted.org/releases/l/o/lohit" +source=(OFL.license + ${_fhosted}/lohit-assamese-ttf-2.91.1.tar.gz + ${_fhosted}/lohit-bengali-ttf-2.91.1.tar.gz + ${_fhosted}/lohit-devanagari-ttf-2.95.1.tar.gz + ${_fhosted}/lohit-gujarati-ttf-2.92.2.tar.gz + ${_fhosted}/lohit-gurmukhi-ttf-2.91.0.tar.gz + ${_fhosted}/lohit-hindi-ttf-2.4.3.tar.gz + ${_fhosted}/lohit-kannada-ttf-2.5.3.tar.gz + ${_fhosted}/lohit-kashmiri-ttf-2.4.3.tar.gz + ${_fhosted}/lohit-konkani-ttf-2.4.3.tar.gz + ${_fhosted}/lohit-maithili-ttf-2.4.3.tar.gz + ${_fhosted}/lohit-malayalam-ttf-2.92.0.tar.gz + ${_fhosted}/lohit-marathi-ttf-2.94.0.tar.gz + ${_fhosted}/lohit-nepali-ttf-2.94.0.tar.gz + ${_fhosted}/lohit-oriya-ttf-2.5.3.tar.gz + ${_fhosted}/lohit-odia-ttf-2.91.0.tar.gz + ${_fhosted}/lohit-punjabi-ttf-2.5.3.tar.gz + ${_fhosted}/lohit-sindhi-ttf-2.4.3.tar.gz + ${_fhosted}/lohit-tamil-ttf-2.91.0.tar.gz + ${_fhosted}/lohit-tamil-classical-ttf-2.5.3.tar.gz + ${_fhosted}/lohit-telugu-ttf-2.5.3.tar.gz +) + +package() { + install -d "${pkgdir}"/usr/share/fonts/TTF + install -d "${pkgdir}"/etc/fonts/{conf.avail,conf.d} + + install -m644 "${srcdir}"/*/*.conf "${pkgdir}/etc/fonts/conf.avail/" + install -m644 "${srcdir}"/*/*.ttf "${pkgdir}/usr/share/fonts/TTF/" + + cd "${pkgdir}/etc/fonts/conf.d" + for config in ../conf.avail/*.conf; do + ln -s ${config} . + done + + install -D -m644 "${srcdir}/OFL.license" \ + "${pkgdir}/usr/share/licenses/${pkgname}/OFL" +} + +md5sums=('6ed93967ff0dc6dd9c8d31c17f817a06' + 'ca22ec5e42db06e8c43c74b988d0bf0d' + 'f8871fa3df4578234c5efb26c3d01311' + '899bbafce9fa71cbb19b9687d354dcef' + 'a2a5c30c0b1a68d59ead3cf26ce88d0b' + '2397138cb546b638adf33e8a32071e54' + 'dbfcfee6fd10045e523decb7657e4a75' + 'f38bec5fe7d0d850fd2cb4760f4e47ed' + '442a84402d7a7db8a4d76a97aeb650db' + 'a9ddcde9f5a367063fc7db3eb075791c' + '57420207e4560b1b3798fdd429d34724' + '81fd6a485f2cb3ca5119b6ad58fc63fe' + '42c852ba334635d7896d4566851a2ce9' + 'f4908b5ff918551fd2212cd55af67c08' + '57bca2a52f411e1c2420482814806d85' + '25078eb6efce26ecac77e19592860a38' + 'deab8c052af328248e8f619178ff890d' + '8070d3e151e3ae0a9c3c05a25a38bc1f' + '59febbb742c626096fa990077202f8f0' + '8042f874e86a87623adaea4780f03b29' + '4e0600fd5f26fe114314e8a050b51ba5') diff --git a/ttf.install b/ttf.install new file mode 100644 index 000000000000..13038b97a32c --- /dev/null +++ b/ttf.install @@ -0,0 +1,15 @@ +post_install() { + echo -n "Updating font cache... " + fc-cache -f >/dev/null + mkfontscale /usr/share/fonts/TTF + mkfontdir /usr/share/fonts/TTF + echo "done." +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |