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

Jan Steffens heftig at archlinux.org
Sat Oct 3 22:11:37 UTC 2015


    Date: Sunday, October 4, 2015 @ 00:11:37
  Author: heftig
Revision: 248317

archrelease: copy trunk to testing-any

Added:
  cantarell-fonts/repos/testing-any/
  cantarell-fonts/repos/testing-any/PKGBUILD
    (from rev 248316, cantarell-fonts/trunk/PKGBUILD)
  cantarell-fonts/repos/testing-any/cantarell-fonts.install
    (from rev 248316, cantarell-fonts/trunk/cantarell-fonts.install)

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

Copied: cantarell-fonts/repos/testing-any/PKGBUILD (from rev 248316, cantarell-fonts/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2015-10-03 22:11:37 UTC (rev 248317)
@@ -0,0 +1,27 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=cantarell-fonts
+pkgver=0.0.17
+pkgrel=1
+pkgdesc="Cantarell font family"
+arch=('any')
+url="https://git.gnome.org/browse/cantarell-fonts"
+license=('GPL2')
+depends=('fontconfig')
+install=cantarell-fonts.install
+source=(https://download.gnome.org/sources/$pkgname/${pkgver::3}/$pkgname-${pkgver}.tar.xz)
+sha256sums=('96b36778b0a02854d832e8afa8439989d09b6f4c3e6d5f3a663f8418b82ba04f')
+
+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/testing-any/cantarell-fonts.install (from rev 248316, cantarell-fonts/trunk/cantarell-fonts.install)
===================================================================
--- testing-any/cantarell-fonts.install	                        (rev 0)
+++ testing-any/cantarell-fonts.install	2015-10-03 22:11:37 UTC (rev 248317)
@@ -0,0 +1,11 @@
+post_install() {
+  fc-cache -s
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  post_install $1
+}



More information about the arch-commits mailing list