[arch-commits] Commit in xorg-mkfontdir/repos (3 files)

Christian Hesse eworm at archlinux.org
Wed Jan 11 19:50:12 UTC 2017


    Date: Wednesday, January 11, 2017 @ 19:50:11
  Author: eworm
Revision: 285699

archrelease: copy trunk to testing-any

Added:
  xorg-mkfontdir/repos/testing-any/
  xorg-mkfontdir/repos/testing-any/PKGBUILD
    (from rev 285698, xorg-mkfontdir/trunk/PKGBUILD)
  xorg-mkfontdir/repos/testing-any/xorg-mkfontdir.hook
    (from rev 285698, xorg-mkfontdir/trunk/xorg-mkfontdir.hook)

---------------------+
 PKGBUILD            |   30 ++++++++++++++++++++++++++++++
 xorg-mkfontdir.hook |   19 +++++++++++++++++++
 2 files changed, 49 insertions(+)

Copied: xorg-mkfontdir/repos/testing-any/PKGBUILD (from rev 285698, xorg-mkfontdir/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2017-01-11 19:50:11 UTC (rev 285699)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=xorg-mkfontdir
+pkgver=1.0.7
+pkgrel=5
+pkgdesc="Create an index of X font files in a directory"
+arch=(any)
+url="http://xorg.freedesktop.org/"
+license=('custom')
+depends=('sh' 'xorg-mkfontscale')
+makedepends=('xorg-util-macros')
+groups=('xorg' 'xorg-apps')
+source=(http://xorg.freedesktop.org/archive/individual/app/mkfontdir-${pkgver}.tar.bz2
+        xorg-mkfontdir.hook)
+sha1sums=('3c06dad8a5fbf7362b51fb7d6b1ab805eba40336'
+          '67eaa9c5948ad6ac09464d24246f60b0c6b82f2c')
+
+build() {
+  cd "${srcdir}/mkfontdir-${pkgver}"
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}/mkfontdir-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+  install -Dm644 $srcdir/xorg-mkfontdir.hook "${pkgdir}/usr/share/libalpm/hooks/xorg-mkfontdir.hook"
+}

Copied: xorg-mkfontdir/repos/testing-any/xorg-mkfontdir.hook (from rev 285698, xorg-mkfontdir/trunk/xorg-mkfontdir.hook)
===================================================================
--- testing-any/xorg-mkfontdir.hook	                        (rev 0)
+++ testing-any/xorg-mkfontdir.hook	2017-01-11 19:50:11 UTC (rev 285699)
@@ -0,0 +1,19 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/share/fonts/*/*.bdf
+Target = usr/share/fonts/*/*.otf
+Target = usr/share/fonts/*/*.pcf.gz
+Target = usr/share/fonts/*/*.pfa
+Target = usr/share/fonts/*/*.pfb
+Target = usr/share/fonts/*/*.ttc
+Target = usr/share/fonts/*/*.ttf
+Target = usr/share/fonts/*/*.woff
+
+[Action]
+Description = Creating index of X font files...
+When = PostTransaction
+Exec = /bin/sh -c 'while read -r f; do dirname $f; done | uniq | while read -r d; do mkfontscale /$d && mkfontdir /$d; done'
+NeedsTargets



More information about the arch-commits mailing list