Skip to content

Instantly share code, notes, and snippets.

@marcelkorpel
Last active August 29, 2015 14:23
Show Gist options
  • Save marcelkorpel/cb0aa9ea24b7d174586a to your computer and use it in GitHub Desktop.
Save marcelkorpel/cb0aa9ea24b7d174586a to your computer and use it in GitHub Desktop.
otf-bergamo
End-User License Agreement [Free Fonts]
This typeface software (“SOFTWARE”) is the property of FontSite Inc. Its use by you is covered under the terms of an End-User License Agreement (“EULA”). By exercising your rights to make and use copies of this SOFTWARE, you agree to be bound by the terms of this EULA. If you do not agree to the terms of this EULA, you may not use the SOFTWARE.
The SOFTWARE may be utilized for production purposes as needed for final output on any surface where the image will be rendered at a fixed size (e.g., document, t-shirt, computer screen).
EMBEDDING:
Adobe Portable Document Format (“PDF”) Embedding: Users may embed the licensed fonts into any read-only PDF you send to third parties. Unless the SOFTWARE is distributed as outlined below such documents may only be viewable and printable (but not editable) by the recipients.
HTML Web Page Embedding: Users may embed the licensed fonts into HTML web pages only for the purpose of typesetting the page using any of the following methods and technologies: @font-face Cascading Style Sheet (“CSS”) rules, Adobe Flash files, Microsoft Silverlight files, sIFR, fLIR, Cufón and Typeface.js. Other technologies not listed here that would allow a designer to typeset web pages using the licensed fonts are allowed. The licensed fonts must not be obviously downloadable and must be reasonably hidden from average users with whatever web page embedding method employed.
Application and Game Embedding: Users may embed the licensed fonts into a computer application or game only with the written permission of FontSite Inc.
This SOFTWARE is a valuable asset of FontSite Inc. which is protected by copyright laws and international copyright treaties, as well as other intellectual property laws and treaties. The typeface software is licensed, not sold.
This EULA grants you the following rights:
* You may install and use an unlimited number of copies of this SOFTWARE.
* You may reproduce and distribute an unlimited number of copies of this SOFTWARE, provided that each copy shall be a true and complete copy, including all copyright and trademark notices, electronic documentation (user guide in PDF format, etc.), and shall be accompanied by a copy of this EULA. Copies of the SOFTWARE may not be distributed for profit either on a standalone basis or included as part of your own product.
post_install() {
echo -n "Updating font cache... "
fc-cache -s >/dev/null
mkfontscale /usr/share/fonts/OTF
mkfontdir /usr/share/fonts/OTF
echo "done."
}
post_upgrade() {
post_install $1
}
post_remove() {
post_install $1
}
# Maintainer: Kevin Klement (klement at philos dot umass dot edu)
pkgname=otf-bergamo
pkgver=1
pkgrel=4
pkgdesc="Open type serif font resembling Bembo"
arch=('any')
url="http://fontsite.com/font-library/bergamo-pro/"
license=('custom:FontSite Free Font License')
depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
source=(file://BergamoProRegular.zip
file://BergamoProItalic.zip
file://BergamoProBold.zip
file://BergamoProBoldItalic.zip)
sha256sums=('27719e4cf3acc070c8bef0f8b51a5b6b4f1e4a2c8c3048bfde9721d808d999c6'
'd330370f75aa6292ef729a2a7fe6acb0434211ee9cdb5a5c716de1ecb919909c'
'351f2b1302076ff933e31bb0fc8ae05b4bb6a115ffa56ce96c5ca48b3f894830'
'2219b7ac1517e342cda32c5562dabca776d8a04066666bcc74f2396dfe24a0ea')
install=$pkgname.install
package() {
cd "$srcdir"
install -d "$pkgdir/usr/share/fonts/OTF"
install -m644 *.otf "$pkgdir/usr/share/fonts/OTF"
install -Dm644 EULA.txt "$pkgdir/usr/share/licenses/$pkgname/EULA.txt"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment