[arch-commits] Commit in gsfonts/repos/extra-any (4 files)

Andrea Scarpino andrea at archlinux.org
Mon Nov 28 04:02:43 EST 2011


    Date: Monday, November 28, 2011 @ 04:02:43
  Author: andrea
Revision: 143662

archrelease: copy trunk to extra-any

Added:
  gsfonts/repos/extra-any/PKGBUILD
    (from rev 143661, gsfonts/trunk/PKGBUILD)
  gsfonts/repos/extra-any/xfonts.install
    (from rev 143661, gsfonts/trunk/xfonts.install)
Deleted:
  gsfonts/repos/extra-any/PKGBUILD
  gsfonts/repos/extra-any/xfonts.install

----------------+
 PKGBUILD       |   59 +++++++++++++++++++++++++++----------------------------
 xfonts.install |   30 +++++++++++++--------------
 2 files changed, 44 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2011-11-28 09:02:23 UTC (rev 143661)
+++ PKGBUILD	2011-11-28 09:02:43 UTC (rev 143662)
@@ -1,30 +0,0 @@
-# $Id$
-# Maintainer: Firmicus <francois.archlinux.org>
-# Contributor: dorphell <dorphell at archlinux.org>
-
-pkgname=gsfonts
-_realname=urw-fonts
-pkgver=1.0.7pre44
-_fedoraver=2.4
-_fedorarel=9.fc13
-pkgrel=2
-pkgdesc="Ghostscript standard Type1 fonts from URW"
-arch=(any)
-url="http://sourceforge.net/projects/gs-fonts/"
-license=('GPL2')
-depends=('xorg-font-utils' 'fontconfig')
-makedepends=('rpmextract')
-provides=(${_realname})
-install=xfonts.install
-source=(http://kojipkgs.fedoraproject.org/packages/${_realname}/${_fedoraver}/${_fedorarel}/src/${_realname}-${_fedoraver}-${_fedorarel}.src.rpm)
-options=(force)
-md5sums=('54935e7d6692792e414510490e3a0fa4')
-
-build() {
-  cd $srcdir || return 1
-  /usr/bin/rpmextract.sh ${_realname}-${_fedoraver}-${_fedorarel}.src.rpm || return 1
-  bsdtar xf *.tar.bz2 || return 1
-  install -d ${pkgdir}/usr/share/fonts/Type1
-  install -m644 *.{pfb,pfm,afm} \
-                ${pkgdir}/usr/share/fonts/Type1/ || return 1
-}

Copied: gsfonts/repos/extra-any/PKGBUILD (from rev 143661, gsfonts/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2011-11-28 09:02:43 UTC (rev 143662)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Firmicus <francois.archlinux.org>
+# Contributor: dorphell <dorphell at archlinux.org>
+
+pkgname=gsfonts
+_realname=urw-fonts
+pkgver=1.0.7pre44
+_fedoraver=2.4
+_fedorarel=9.fc13
+pkgrel=2
+pkgdesc="Ghostscript standard Type1 fonts from URW"
+arch=(any)
+url="http://sourceforge.net/projects/gs-fonts/"
+license=('GPL2')
+depends=('xorg-font-utils' 'fontconfig')
+makedepends=('rpmextract')
+provides=(${_realname})
+install=xfonts.install
+source=(http://kojipkgs.fedoraproject.org/packages/${_realname}/${_fedoraver}/${_fedorarel}/src/${_realname}-${_fedoraver}-${_fedorarel}.src.rpm)
+md5sums=('54935e7d6692792e414510490e3a0fa4')
+
+package() {
+  cd $srcdir
+  /usr/bin/rpmextract.sh ${_realname}-${_fedoraver}-${_fedorarel}.src.rpm
+  bsdtar xf *.tar.bz2
+  install -d ${pkgdir}/usr/share/fonts/Type1
+  install -m644 *.{pfb,pfm,afm} \
+                ${pkgdir}/usr/share/fonts/Type1/
+}

Deleted: xfonts.install
===================================================================
--- xfonts.install	2011-11-28 09:02:23 UTC (rev 143661)
+++ xfonts.install	2011-11-28 09:02:43 UTC (rev 143662)
@@ -1,15 +0,0 @@
-post_install() {
-  echo -n "Updating font cache... "
-  fc-cache -sf > /dev/null
-  mkfontscale /usr/share/fonts/Type1
-  mkfontdir /usr/share/fonts/Type1
-  echo "done."
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-post_remove() {
-  post_install $1
-}

Copied: gsfonts/repos/extra-any/xfonts.install (from rev 143661, gsfonts/trunk/xfonts.install)
===================================================================
--- xfonts.install	                        (rev 0)
+++ xfonts.install	2011-11-28 09:02:43 UTC (rev 143662)
@@ -0,0 +1,15 @@
+post_install() {
+  echo -n "Updating font cache... "
+  fc-cache -sf > /dev/null
+  mkfontscale /usr/share/fonts/Type1
+  mkfontdir /usr/share/fonts/Type1
+  echo "done."
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  post_install $1
+}



More information about the arch-commits mailing list