[arch-commits] Commit in ttf-dejavu/repos (5 files)

Evangelos Foutras foutrelis at archlinux.org
Sun Jan 13 15:03:30 UTC 2013


    Date: Sunday, January 13, 2013 @ 10:03:29
  Author: foutrelis
Revision: 175095

db-move: moved ttf-dejavu from [testing] to [extra] (any)

Added:
  ttf-dejavu/repos/extra-any/PKGBUILD
    (from rev 175094, ttf-dejavu/repos/testing-any/PKGBUILD)
  ttf-dejavu/repos/extra-any/ttf-dejavu.install
    (from rev 175094, ttf-dejavu/repos/testing-any/ttf-dejavu.install)
Deleted:
  ttf-dejavu/repos/extra-any/PKGBUILD
  ttf-dejavu/repos/extra-any/ttf-dejavu.install
  ttf-dejavu/repos/testing-any/

--------------------+
 PKGBUILD           |   55 ++++++++++++------------
 ttf-dejavu.install |  114 +++++++++++++++++++++++++--------------------------
 2 files changed, 85 insertions(+), 84 deletions(-)

Deleted: extra-any/PKGBUILD
===================================================================
--- extra-any/PKGBUILD	2013-01-13 14:57:05 UTC (rev 175094)
+++ extra-any/PKGBUILD	2013-01-13 15:03:29 UTC (rev 175095)
@@ -1,27 +0,0 @@
-# $Id$
-# Maintainer:
-# Contributor: Jan de Groot <jgc at archlinux.org>
-# Contributor: Michal Krenek <mikos at sg1.cz>
-
-pkgname=ttf-dejavu
-pkgver=2.33
-pkgrel=3
-pkgdesc="Font family based on the Bitstream Vera Fonts with a wider range of characters"
-arch=('any')
-url="http://dejavu-fonts.org/wiki/Main_Page"
-license=('custom')
-depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-mkfontscale' 'xorg-mkfontdir')
-install=ttf-dejavu.install
-source=(http://downloads.sourceforge.net/project/dejavu/dejavu/${pkgver}/dejavu-fonts-ttf-${pkgver}.tar.bz2)
-md5sums=('8b601e91725b6d69141b0fcf527948c0')
-
-package() {
-  install -dm755 "${pkgdir}"/etc/fonts/conf.avail
-  install -dm755 "${pkgdir}"/usr/share/fonts/TTF
-
-  cd "${srcdir}"/dejavu-fonts-ttf-${pkgver}
-  install -m644 ttf/*.ttf "${pkgdir}"/usr/share/fonts/TTF/
-  install -m644 fontconfig/*.conf "${pkgdir}"/etc/fonts/conf.avail/
-
-  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}

Copied: ttf-dejavu/repos/extra-any/PKGBUILD (from rev 175094, ttf-dejavu/repos/testing-any/PKGBUILD)
===================================================================
--- extra-any/PKGBUILD	                        (rev 0)
+++ extra-any/PKGBUILD	2013-01-13 15:03:29 UTC (rev 175095)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer:
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: Michal Krenek <mikos at sg1.cz>
+
+pkgname=ttf-dejavu
+pkgver=2.33
+pkgrel=4
+pkgdesc="Font family based on the Bitstream Vera Fonts with a wider range of characters"
+arch=('any')
+url="http://dejavu-fonts.org/wiki/Main_Page"
+license=('custom')
+depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-mkfontscale' 'xorg-mkfontdir')
+provides=('ttf-font')
+install=ttf-dejavu.install
+source=(http://downloads.sourceforge.net/project/dejavu/dejavu/${pkgver}/dejavu-fonts-ttf-${pkgver}.tar.bz2)
+md5sums=('8b601e91725b6d69141b0fcf527948c0')
+
+package() {
+  install -dm755 "${pkgdir}"/etc/fonts/conf.avail
+  install -dm755 "${pkgdir}"/usr/share/fonts/TTF
+
+  cd "${srcdir}"/dejavu-fonts-ttf-${pkgver}
+  install -m644 ttf/*.ttf "${pkgdir}"/usr/share/fonts/TTF/
+  install -m644 fontconfig/*.conf "${pkgdir}"/etc/fonts/conf.avail/
+
+  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}

Deleted: extra-any/ttf-dejavu.install
===================================================================
--- extra-any/ttf-dejavu.install	2013-01-13 14:57:05 UTC (rev 175094)
+++ extra-any/ttf-dejavu.install	2013-01-13 15:03:29 UTC (rev 175095)
@@ -1,57 +0,0 @@
-configs=(20-unhint-small-dejavu-sans-mono.conf
-         20-unhint-small-dejavu-sans.conf
-         20-unhint-small-dejavu-serif.conf
-         57-dejavu-sans-mono.conf
-         57-dejavu-sans.conf
-         57-dejavu-serif.conf)
-
-post_install() {
-  pushd etc/fonts/conf.d > /dev/null
-  for config in "${configs[@]}"; do
-    ln -sf ../conf.avail/${config} .
-  done
-  popd > /dev/null
-  fc-cache -fs
-  mkfontscale usr/share/fonts/TTF
-  mkfontdir usr/share/fonts/TTF
-}
-
-post_upgrade() {
-  if [ `vercmp 2.30-2 $2` -gt 0 ]; then 
-    pushd etc/fonts/conf.d > /dev/null
-    for config in "${configs[@]}"; do
-      ln -sf ../conf.avail/${config} .
-    done
-    popd > /dev/null
-  fi
-  for config in etc/fonts/conf.d/*; do
-    if [ ! -f ${config} ]; then
-      rm -f ${config}
-    fi
-  done
-  fc-cache -fs
-  mkfontscale usr/share/fonts/TTF
-  mkfontdir usr/share/fonts/TTF
-}
-
-pre_upgrade() {
-  # Link new config files not present on system yet
-  pushd etc/fonts/conf.d > /dev/null
-  for config in "${configs[@]}"; do
-    if [ ! -f ../conf.avail/${config} ]; then
-      ln -sf ../conf.avail/${config} .
-    fi
-  done
-  popd > /dev/null
-}
-
-post_remove() {
-  pushd etc/fonts/conf.d > /dev/null
-  for config in "${configs[@]}"; do
-    rm -f ${config}
-  done
-  popd > /dev/null
-  fc-cache -fs
-  mkfontscale usr/share/fonts/TTF
-  mkfontdir usr/share/fonts/TTF
-}

Copied: ttf-dejavu/repos/extra-any/ttf-dejavu.install (from rev 175094, ttf-dejavu/repos/testing-any/ttf-dejavu.install)
===================================================================
--- extra-any/ttf-dejavu.install	                        (rev 0)
+++ extra-any/ttf-dejavu.install	2013-01-13 15:03:29 UTC (rev 175095)
@@ -0,0 +1,57 @@
+configs=(20-unhint-small-dejavu-sans-mono.conf
+         20-unhint-small-dejavu-sans.conf
+         20-unhint-small-dejavu-serif.conf
+         57-dejavu-sans-mono.conf
+         57-dejavu-sans.conf
+         57-dejavu-serif.conf)
+
+post_install() {
+  pushd etc/fonts/conf.d > /dev/null
+  for config in "${configs[@]}"; do
+    ln -sf ../conf.avail/${config} .
+  done
+  popd > /dev/null
+  fc-cache -fs
+  mkfontscale usr/share/fonts/TTF
+  mkfontdir usr/share/fonts/TTF
+}
+
+post_upgrade() {
+  if [ `vercmp 2.30-2 $2` -gt 0 ]; then 
+    pushd etc/fonts/conf.d > /dev/null
+    for config in "${configs[@]}"; do
+      ln -sf ../conf.avail/${config} .
+    done
+    popd > /dev/null
+  fi
+  for config in etc/fonts/conf.d/*; do
+    if [ ! -f ${config} ]; then
+      rm -f ${config}
+    fi
+  done
+  fc-cache -fs
+  mkfontscale usr/share/fonts/TTF
+  mkfontdir usr/share/fonts/TTF
+}
+
+pre_upgrade() {
+  # Link new config files not present on system yet
+  pushd etc/fonts/conf.d > /dev/null
+  for config in "${configs[@]}"; do
+    if [ ! -f ../conf.avail/${config} ]; then
+      ln -sf ../conf.avail/${config} .
+    fi
+  done
+  popd > /dev/null
+}
+
+post_remove() {
+  pushd etc/fonts/conf.d > /dev/null
+  for config in "${configs[@]}"; do
+    rm -f ${config}
+  done
+  popd > /dev/null
+  fc-cache -fs
+  mkfontscale usr/share/fonts/TTF
+  mkfontdir usr/share/fonts/TTF
+}




More information about the arch-commits mailing list