[arch-commits] Commit in (5 files)

Andrea Scarpino andrea at archlinux.org
Mon Jan 12 11:52:25 UTC 2015


    Date: Monday, January 12, 2015 @ 12:52:25
  Author: andrea
Revision: 125808

Move from AUR

Added:
  ttf-anonymous-pro/
  ttf-anonymous-pro/repos/
  ttf-anonymous-pro/trunk/
  ttf-anonymous-pro/trunk/PKGBUILD
  ttf-anonymous-pro/trunk/ttf-font.install

------------------+
 PKGBUILD         |   29 +++++++++++++++++++++++++++++
 ttf-font.install |   16 ++++++++++++++++
 2 files changed, 45 insertions(+)

Added: ttf-anonymous-pro/trunk/PKGBUILD
===================================================================
--- ttf-anonymous-pro/trunk/PKGBUILD	                        (rev 0)
+++ ttf-anonymous-pro/trunk/PKGBUILD	2015-01-12 11:52:25 UTC (rev 125808)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Rick W. Chen <stuffcorpse at archlinux dot us>
+# Contributor: Gaute Hope <eg at gaute.vetsj.com>
+# Contributor: Stein Krauz <steinkrauz at yahoo.com>
+
+pkgname=ttf-anonymous-pro
+pkgver=1.003
+pkgrel=1
+pkgdesc='A family of four fixed-width fonts designed especially with coding in mind'
+arch=('any')
+url='http://www.marksimonson.com/fonts'
+license=('custom:OFL')
+install=ttf-font.install
+source=('http://www.marksimonson.com/assets/content/fonts/AnonymousPro-1.002.zip'
+        'http://www.marksimonson.com/assets/content/fonts/AnonymousProMinus-1.003.zip')
+md5sums=('87651de93312fdd3f27e50741d2a0630a41ec30d'
+         '0502fc7da5796deb2dcc34030db88f874fe08fa9')
+
+package() {
+  install -d "${pkgdir}/usr/share/fonts/TTF/"
+  install -m644 AnonymousPro-1.002.001/*.ttf "${pkgdir}/usr/share/fonts/TTF/"
+  install -m644 AnonymousProMinus-1.003/*.ttf "${pkgdir}/usr/share/fonts/TTF/"
+
+  install -d "${pkgdir}"/usr/share/licenses/${pkgname}
+  install -m644 OFL.txt OFL-FAQ.txt \
+    "${pkgdir}"/usr/share/licenses/${pkgname}
+}
+


Property changes on: ttf-anonymous-pro/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: ttf-anonymous-pro/trunk/ttf-font.install
===================================================================
--- ttf-anonymous-pro/trunk/ttf-font.install	                        (rev 0)
+++ ttf-anonymous-pro/trunk/ttf-font.install	2015-01-12 11:52:25 UTC (rev 125808)
@@ -0,0 +1,16 @@
+post_install() {
+  echo -n "Updating font cache... "
+  fc-cache -s
+  mkfontscale /usr/share/fonts/TTF
+  mkfontdir /usr/share/fonts/TTF
+  echo "done."
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}
+



More information about the arch-commits mailing list