[arch-commits] Commit in cantarell-fonts/repos (4 files)

Jan de Groot jgc at archlinux.org
Thu Oct 18 19:29:31 UTC 2012


    Date: Thursday, October 18, 2012 @ 15:29:30
  Author: jgc
Revision: 169271

db-move: moved cantarell-fonts from [gnome-unstable] to [testing] (any)

Added:
  cantarell-fonts/repos/testing-any/
  cantarell-fonts/repos/testing-any/PKGBUILD
    (from rev 169138, cantarell-fonts/repos/gnome-unstable-any/PKGBUILD)
  cantarell-fonts/repos/testing-any/cantarell-fonts.install
    (from rev 169138, cantarell-fonts/repos/gnome-unstable-any/cantarell-fonts.install)
Deleted:
  cantarell-fonts/repos/gnome-unstable-any/

-------------------------+
 PKGBUILD                |   32 ++++++++++++++++++++++++++++++++
 cantarell-fonts.install |   11 +++++++++++
 2 files changed, 43 insertions(+)

Copied: cantarell-fonts/repos/testing-any/PKGBUILD (from rev 169138, cantarell-fonts/repos/gnome-unstable-any/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2012-10-18 19:29:30 UTC (rev 169271)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=cantarell-fonts
+pkgver=0.0.10.1
+pkgrel=1
+pkgdesc="Cantarell font family for the GNOME desktop"
+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=('a59e7f449cce10bd6b990ff25c9d12cabb91e3ae75fe0599eb84174231b7ae73')
+
+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/testing-any/cantarell-fonts.install (from rev 169138, cantarell-fonts/repos/gnome-unstable-any/cantarell-fonts.install)
===================================================================
--- testing-any/cantarell-fonts.install	                        (rev 0)
+++ testing-any/cantarell-fonts.install	2012-10-18 19:29:30 UTC (rev 169271)
@@ -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