[arch-commits] Commit in cantarell-fonts/repos (3 files)
Jan Steffens
heftig at archlinux.org
Tue Sep 25 13:43:01 UTC 2012
Date: Tuesday, September 25, 2012 @ 09:43:01
Author: heftig
Revision: 167119
archrelease: copy trunk to gnome-unstable-any
Added:
cantarell-fonts/repos/gnome-unstable-any/
cantarell-fonts/repos/gnome-unstable-any/PKGBUILD
(from rev 167118, cantarell-fonts/trunk/PKGBUILD)
cantarell-fonts/repos/gnome-unstable-any/cantarell-fonts.install
(from rev 167118, cantarell-fonts/trunk/cantarell-fonts.install)
-------------------------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
cantarell-fonts.install | 11 +++++++++++
2 files changed, 43 insertions(+)
Copied: cantarell-fonts/repos/gnome-unstable-any/PKGBUILD (from rev 167118, cantarell-fonts/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-any/PKGBUILD (rev 0)
+++ gnome-unstable-any/PKGBUILD 2012-09-25 13:43:01 UTC (rev 167119)
@@ -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/gnome-unstable-any/cantarell-fonts.install (from rev 167118, cantarell-fonts/trunk/cantarell-fonts.install)
===================================================================
--- gnome-unstable-any/cantarell-fonts.install (rev 0)
+++ gnome-unstable-any/cantarell-fonts.install 2012-09-25 13:43:01 UTC (rev 167119)
@@ -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