[arch-commits] Commit in cantarell-fonts/repos/extra-any (5 files)

Jan Steffens heftig at archlinux.org
Mon Dec 10 23:24:39 UTC 2012


    Date: Monday, December 10, 2012 @ 18:24:38
  Author: heftig
Revision: 173099

archrelease: copy trunk to extra-any

Added:
  cantarell-fonts/repos/extra-any/21-cantarell-hinting.conf
    (from rev 173098, cantarell-fonts/trunk/21-cantarell-hinting.conf)
  cantarell-fonts/repos/extra-any/PKGBUILD
    (from rev 173098, cantarell-fonts/trunk/PKGBUILD)
  cantarell-fonts/repos/extra-any/cantarell-fonts.install
    (from rev 173098, cantarell-fonts/trunk/cantarell-fonts.install)
Deleted:
  cantarell-fonts/repos/extra-any/PKGBUILD
  cantarell-fonts/repos/extra-any/cantarell-fonts.install

---------------------------+
 21-cantarell-hinting.conf |   13 ++++++++
 PKGBUILD                  |   66 ++++++++++++++++++++++----------------------
 cantarell-fonts.install   |   22 +++++++-------
 3 files changed, 58 insertions(+), 43 deletions(-)

Copied: cantarell-fonts/repos/extra-any/21-cantarell-hinting.conf (from rev 173098, cantarell-fonts/trunk/21-cantarell-hinting.conf)
===================================================================
--- 21-cantarell-hinting.conf	                        (rev 0)
+++ 21-cantarell-hinting.conf	2012-12-10 23:24:38 UTC (rev 173099)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
+<fontconfig>
+  <!-- Force the autohinter for Cantarell, as it does not have TT hinting -->
+  <match target="font">
+    <test name="family" compare="eq" ignore-blanks="true">
+      <string>Cantarell</string>
+    </test>
+    <edit name="autohint">
+      <bool>true</bool>
+    </edit>
+  </match>
+</fontconfig>

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2012-12-10 23:23:40 UTC (rev 173098)
+++ PKGBUILD	2012-12-10 23:24:38 UTC (rev 173099)
@@ -1,32 +0,0 @@
-# $Id$
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-
-pkgname=cantarell-fonts
-pkgver=0.0.11
-pkgrel=2
-pkgdesc="Cantarell font family"
-arch=('any')
-url="http://abattis.org/cantarell/"
-license=('GPL2')
-depends=('fontconfig')
-install=cantarell-fonts.install
-source=(http://download.gnome.org/sources/$pkgname/${pkgver::3}/$pkgname-${pkgver}.tar.xz)
-sha256sums=('89b68fc3e9557309bbca1a174210dad3525a7908d4c11dff20f7e9a01f940b63')
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  make DESTDIR="${pkgdir}" install
-
-  mkdir -p "$pkgdir/etc/fonts/conf.d"
-  mv "$pkgdir/usr/share/fontconfig/conf.avail" "$pkgdir/etc/fonts/conf.avail"
-  rmdir "$pkgdir/usr/share/fontconfig"
-  ln -s ../conf.avail/31-cantarell.conf "$pkgdir/etc/fonts/conf.d"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: cantarell-fonts/repos/extra-any/PKGBUILD (from rev 173098, cantarell-fonts/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2012-12-10 23:24:38 UTC (rev 173099)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=cantarell-fonts
+pkgver=0.0.11
+pkgrel=3
+pkgdesc="Cantarell font family"
+arch=('any')
+url="http://abattis.org/cantarell/"
+license=('GPL2')
+depends=('fontconfig')
+install=cantarell-fonts.install
+source=(http://download.gnome.org/sources/$pkgname/${pkgver::3}/$pkgname-${pkgver}.tar.xz
+        21-cantarell-hinting.conf)
+sha256sums=('89b68fc3e9557309bbca1a174210dad3525a7908d4c11dff20f7e9a01f940b63'
+            '7da2d00e68d9eeab071cb861fe7da35098d5164008f638a5a9c289f717924bd0')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --with-configdir=/etc/fonts/conf.avail
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="${pkgdir}" install
+  install -Dm644 ../21-cantarell-hinting.conf \
+    "$pkgdir/etc/fonts/conf.avail/21-cantarell-hinting.conf"
+  install -d "$pkgdir/etc/fonts/conf.d"
+  ln -s ../conf.avail/21-cantarell-hinting.conf "$pkgdir/etc/fonts/conf.d"
+  ln -s ../conf.avail/31-cantarell.conf "$pkgdir/etc/fonts/conf.d"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: cantarell-fonts.install
===================================================================
--- cantarell-fonts.install	2012-12-10 23:23:40 UTC (rev 173098)
+++ cantarell-fonts.install	2012-12-10 23:24:38 UTC (rev 173099)
@@ -1,11 +0,0 @@
-post_install() {
-  fc-cache -f
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-post_remove() {
-  post_install $1
-}

Copied: cantarell-fonts/repos/extra-any/cantarell-fonts.install (from rev 173098, cantarell-fonts/trunk/cantarell-fonts.install)
===================================================================
--- cantarell-fonts.install	                        (rev 0)
+++ cantarell-fonts.install	2012-12-10 23:24:38 UTC (rev 173099)
@@ -0,0 +1,11 @@
+post_install() {
+  fc-cache -f
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  post_install $1
+}




More information about the arch-commits mailing list