[arch-commits] Commit in cantarell-fonts/repos (3 files)
Jan de Groot
jgc at archlinux.org
Tue Sep 23 08:33:52 UTC 2014
Date: Tuesday, September 23, 2014 @ 10:33:52
Author: jgc
Revision: 222795
archrelease: copy trunk to gnome-unstable-any
Added:
cantarell-fonts/repos/gnome-unstable-any/
cantarell-fonts/repos/gnome-unstable-any/PKGBUILD
(from rev 222794, cantarell-fonts/trunk/PKGBUILD)
cantarell-fonts/repos/gnome-unstable-any/cantarell-fonts.install
(from rev 222794, cantarell-fonts/trunk/cantarell-fonts.install)
-------------------------+
PKGBUILD | 27 +++++++++++++++++++++++++++
cantarell-fonts.install | 11 +++++++++++
2 files changed, 38 insertions(+)
Copied: cantarell-fonts/repos/gnome-unstable-any/PKGBUILD (from rev 222794, cantarell-fonts/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-any/PKGBUILD (rev 0)
+++ gnome-unstable-any/PKGBUILD 2014-09-23 08:33:52 UTC (rev 222795)
@@ -0,0 +1,27 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=cantarell-fonts
+pkgver=0.0.16
+pkgrel=1
+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=('15bf87555321556750bc68ace360f3df420359a8ab257e15c44fb69710152f1c')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --with-configdir=/etc/fonts/conf.avail
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim:set ts=2 sw=2 et:
Copied: cantarell-fonts/repos/gnome-unstable-any/cantarell-fonts.install (from rev 222794, cantarell-fonts/trunk/cantarell-fonts.install)
===================================================================
--- gnome-unstable-any/cantarell-fonts.install (rev 0)
+++ gnome-unstable-any/cantarell-fonts.install 2014-09-23 08:33:52 UTC (rev 222795)
@@ -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