[arch-commits] Commit in ttf-overpass/repos (3 files)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Thu Jul 7 14:25:34 UTC 2016
Date: Thursday, July 7, 2016 @ 14:25:33
Author: jlichtblau
Revision: 182469
archrelease: copy trunk to community-any
Added:
ttf-overpass/repos/community-any/
ttf-overpass/repos/community-any/PKGBUILD
(from rev 182468, ttf-overpass/trunk/PKGBUILD)
ttf-overpass/repos/community-any/ttf-overpass.install
(from rev 182468, ttf-overpass/trunk/ttf-overpass.install)
----------------------+
PKGBUILD | 27 +++++++++++++++++++++++++++
ttf-overpass.install | 15 +++++++++++++++
2 files changed, 42 insertions(+)
Copied: ttf-overpass/repos/community-any/PKGBUILD (from rev 182468, ttf-overpass/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2016-07-07 14:25:33 UTC (rev 182469)
@@ -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
+}
Copied: ttf-overpass/repos/community-any/ttf-overpass.install (from rev 182468, ttf-overpass/trunk/ttf-overpass.install)
===================================================================
--- community-any/ttf-overpass.install (rev 0)
+++ community-any/ttf-overpass.install 2016-07-07 14:25:33 UTC (rev 182469)
@@ -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