[arch-commits] Commit in cantarell-fonts/repos (4 files)
Jan Steffens
heftig at archlinux.org
Sun Apr 1 11:30:49 UTC 2012
Date: Sunday, April 1, 2012 @ 07:30:49
Author: heftig
Revision: 155020
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 155005, cantarell-fonts/repos/gnome-unstable-any/PKGBUILD)
cantarell-fonts/repos/testing-any/cantarell-fonts.install
(from rev 155005, cantarell-fonts/repos/gnome-unstable-any/cantarell-fonts.install)
Deleted:
cantarell-fonts/repos/gnome-unstable-any/
-------------------------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
cantarell-fonts.install | 13 +++++++++++++
2 files changed, 45 insertions(+)
Copied: cantarell-fonts/repos/testing-any/PKGBUILD (from rev 155005, cantarell-fonts/repos/gnome-unstable-any/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2012-04-01 11:30:49 UTC (rev 155020)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=cantarell-fonts
+pkgver=0.0.8
+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%.*}/$pkgname-${pkgver}.tar.xz)
+sha256sums=('e5468861cee84c034dfc53ed9836a360bea45767873dd7840fe403a06bcc61fb')
+
+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 155005, cantarell-fonts/repos/gnome-unstable-any/cantarell-fonts.install)
===================================================================
--- testing-any/cantarell-fonts.install (rev 0)
+++ testing-any/cantarell-fonts.install 2012-04-01 11:30:49 UTC (rev 155020)
@@ -0,0 +1,13 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -f > /dev/null
+ echo "done."
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
More information about the arch-commits
mailing list