[arch-commits] Commit in xorg-fonts-cyrillic/repos/extra-any (4 files)

Allan McRae allan at archlinux.org
Fri Feb 17 04:41:11 EST 2012


    Date: Friday, February 17, 2012 @ 04:41:11
  Author: allan
Revision: 150372

archrelease: copy trunk to extra-any

Added:
  xorg-fonts-cyrillic/repos/extra-any/PKGBUILD
    (from rev 150371, xorg-fonts-cyrillic/trunk/PKGBUILD)
  xorg-fonts-cyrillic/repos/extra-any/xfonts.install
    (from rev 150371, xorg-fonts-cyrillic/trunk/xfonts.install)
Deleted:
  xorg-fonts-cyrillic/repos/extra-any/PKGBUILD
  xorg-fonts-cyrillic/repos/extra-any/xfonts.install

----------------+
 PKGBUILD       |   84 ++++++++++++++++++++++++++++++-------------------------
 xfonts.install |   30 +++++++++----------
 2 files changed, 62 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-17 09:40:36 UTC (rev 150371)
+++ PKGBUILD	2012-02-17 09:41:11 UTC (rev 150372)
@@ -1,37 +0,0 @@
-# $Id$
-#Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgname=xorg-fonts-cyrillic
-pkgver=1.0.1
-pkgrel=1
-pkgdesc="X.org cyrillic fonts"
-arch=(any)
-url="http://xorg.freedesktop.org/"
-license=('custom')
-depends=(xorg-fonts-encodings xorg-fonts-alias xorg-font-utils fontconfig)
-install=xfonts.install
-source=(${url}/releases/individual/font/font-cronyx-cyrillic-${pkgver}.tar.bz2
-        ${url}/releases/individual/font/font-misc-cyrillic-${pkgver}.tar.bz2
-        ${url}/releases/individual/font/font-screen-cyrillic-1.0.2.tar.bz2
-        ${url}/releases/individual/font/font-winitzki-cyrillic-${pkgver}.tar.bz2)
-md5sums=('15f86f5e572df21218617982eb4b3bfc'
-         'c79d7921d95b2c4f10fad464bb121090'
-         'c912a976b66073acd80c9d5c624f3aae'
-         '92bf4ecb373faac545cef2dcbe40be35')
-
-build() {
-  cd "${srcdir}"
-  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
-  for dir in *; do
-    if [ -d "${dir}" ]; then
-      pushd "${dir}"
-      ./configure --prefix=/usr \
-		      --with-fontdir=/usr/share/fonts/cyrillic || return 1
-      make || return 1
-      make DESTDIR="${pkgdir}" install || return 1
-      install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.${dir%-*}"
-      popd
-    fi
-  done
-  rm -f "${pkgdir}"/usr/share/fonts/*/fonts.*
-}

Copied: xorg-fonts-cyrillic/repos/extra-any/PKGBUILD (from rev 150371, xorg-fonts-cyrillic/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2012-02-17 09:41:11 UTC (rev 150372)
@@ -0,0 +1,47 @@
+# $Id$
+#Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=xorg-fonts-cyrillic
+pkgver=1.0.1
+pkgrel=2
+pkgdesc="X.org cyrillic fonts"
+arch=(any)
+url="http://xorg.freedesktop.org/"
+license=('custom')
+depends=(xorg-fonts-encodings xorg-fonts-alias xorg-font-utils fontconfig)
+install=xfonts.install
+source=(${url}/releases/individual/font/font-cronyx-cyrillic-${pkgver}.tar.bz2
+        ${url}/releases/individual/font/font-misc-cyrillic-${pkgver}.tar.bz2
+        ${url}/releases/individual/font/font-screen-cyrillic-1.0.2.tar.bz2
+        ${url}/releases/individual/font/font-winitzki-cyrillic-${pkgver}.tar.bz2)
+md5sums=('15f86f5e572df21218617982eb4b3bfc'
+         'c79d7921d95b2c4f10fad464bb121090'
+         'c912a976b66073acd80c9d5c624f3aae'
+         '92bf4ecb373faac545cef2dcbe40be35')
+
+build() {
+  cd "${srcdir}"
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  for dir in *; do
+    if [ -d "${dir}" ]; then
+      pushd "${dir}"
+      ./configure --prefix=/usr \
+		      --with-fontdir=/usr/share/fonts/cyrillic
+      make
+      popd
+    fi
+  done
+}
+
+package() {
+  cd "${srcdir}"
+  for dir in *; do
+    if [ -d "${dir}" ]; then
+      pushd "${dir}"
+      make DESTDIR="${pkgdir}" install
+      install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.${dir%-*}"
+      popd
+    fi    
+  done
+  rm -f "${pkgdir}"/usr/share/fonts/*/fonts.*
+}

Deleted: xfonts.install
===================================================================
--- xfonts.install	2012-02-17 09:40:36 UTC (rev 150371)
+++ xfonts.install	2012-02-17 09:41:11 UTC (rev 150372)
@@ -1,15 +0,0 @@
-post_install() {
-  echo -n "Updating font cache... "
-  fc-cache -f > /dev/null
-  mkfontscale /usr/share/fonts/cyrillic
-  mkfontdir /usr/share/fonts/cyrillic
-  echo "done."
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-post_remove() {
-  post_install $1
-}

Copied: xorg-fonts-cyrillic/repos/extra-any/xfonts.install (from rev 150371, xorg-fonts-cyrillic/trunk/xfonts.install)
===================================================================
--- xfonts.install	                        (rev 0)
+++ xfonts.install	2012-02-17 09:41:11 UTC (rev 150372)
@@ -0,0 +1,15 @@
+post_install() {
+  echo -n "Updating font cache... "
+  fc-cache -f > /dev/null
+  mkfontscale /usr/share/fonts/cyrillic
+  mkfontdir /usr/share/fonts/cyrillic
+  echo "done."
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  post_install $1
+}



More information about the arch-commits mailing list