[arch-commits] Commit in (5 files)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Thu Jul 7 14:24:42 UTC 2016
Date: Thursday, July 7, 2016 @ 14:24:41
Author: jlichtblau
Revision: 182468
ttf-overpass moved to [community]
initial release
Added:
ttf-overpass/
ttf-overpass/repos/
ttf-overpass/trunk/
ttf-overpass/trunk/PKGBUILD
ttf-overpass/trunk/ttf-overpass.install
----------------------+
PKGBUILD | 27 +++++++++++++++++++++++++++
ttf-overpass.install | 15 +++++++++++++++
2 files changed, 42 insertions(+)
Added: ttf-overpass/trunk/PKGBUILD
===================================================================
--- ttf-overpass/trunk/PKGBUILD (rev 0)
+++ ttf-overpass/trunk/PKGBUILD 2016-07-07 14:24:41 UTC (rev 182468)
@@ -0,0 +1,27 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinxu.org>
+# Contributor: Christopher Arndt <aur -at- chrisarndt -dot- de>
+
+pkgname=ttf-overpass
+pkgver=2.1
+pkgrel=2
+pkgdesc="An open source font family inspired by Highway Gothic esp. suited for signs, lettering and web sites"
+arch=('any')
+url="http://overpassfont.org/"
+license=('custom:SIL Open Font License 1.1' 'LGPL2.1')
+depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
+install=$pkgname.install
+source=(https://github.com/RedHatBrand/overpass/archive/${pkgver}.tar.gz)
+sha256sums=('a7562994399cdf33a2e91e4fb1e1e76bb44121f32007b4da15b01579537d9e06')
+
+package() {
+ cd "${srcdir}/overpass-$pkgver"
+
+ install -d "${pkgdir}"/usr/share/fonts/TTF
+ install -m644 "Desktop Fonts/"*.ttf "${pkgdir}"/usr/share/fonts/TTF
+ install -Dm644 "Desktop Fonts/"LICENSE.md \
+ "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE.md
+ install -d "${pkgdir}"/usr/share/doc/$pkgname
+ install -m644 "Overpass Specimen 8-20-15.pdf" README.md \
+ "${pkgdir}"/usr/share/doc/$pkgname
+}
Property changes on: ttf-overpass/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: ttf-overpass/trunk/ttf-overpass.install
===================================================================
--- ttf-overpass/trunk/ttf-overpass.install (rev 0)
+++ ttf-overpass/trunk/ttf-overpass.install 2016-07-07 14:24:41 UTC (rev 182468)
@@ -0,0 +1,15 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -s > /dev/null
+ mkfontscale /usr/share/fonts/TTF
+ mkfontdir /usr/share/fonts/TTF
+ echo "done."
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
More information about the arch-commits
mailing list