[arch-commits] Commit in cmatrix/repos (10 files)

Kyle Keen kkeen at archlinux.org
Tue Nov 11 00:45:30 UTC 2014


    Date: Tuesday, November 11, 2014 @ 01:45:30
  Author: kkeen
Revision: 122330

archrelease: copy trunk to community-i686, community-x86_64

Added:
  cmatrix/repos/community-i686/PKGBUILD
    (from rev 122329, cmatrix/trunk/PKGBUILD)
  cmatrix/repos/community-i686/cmatrix-tty
    (from rev 122329, cmatrix/trunk/cmatrix-tty)
  cmatrix/repos/community-i686/cmatrix.install
    (from rev 122329, cmatrix/trunk/cmatrix.install)
  cmatrix/repos/community-x86_64/PKGBUILD
    (from rev 122329, cmatrix/trunk/PKGBUILD)
  cmatrix/repos/community-x86_64/cmatrix-tty
    (from rev 122329, cmatrix/trunk/cmatrix-tty)
  cmatrix/repos/community-x86_64/cmatrix.install
    (from rev 122329, cmatrix/trunk/cmatrix.install)
Deleted:
  cmatrix/repos/community-i686/PKGBUILD
  cmatrix/repos/community-i686/cmatrix.install
  cmatrix/repos/community-x86_64/PKGBUILD
  cmatrix/repos/community-x86_64/cmatrix.install

----------------------------------+
 /PKGBUILD                        |   88 +++++++++++++++++++++++++++++++++++++
 /cmatrix.install                 |   12 +++++
 community-i686/PKGBUILD          |   37 ---------------
 community-i686/cmatrix-tty       |   33 +++++++++++++
 community-i686/cmatrix.install   |    3 -
 community-x86_64/PKGBUILD        |   37 ---------------
 community-x86_64/cmatrix-tty     |   33 +++++++++++++
 community-x86_64/cmatrix.install |    3 -
 8 files changed, 166 insertions(+), 80 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2014-11-11 00:44:45 UTC (rev 122329)
+++ community-i686/PKGBUILD	2014-11-11 00:45:30 UTC (rev 122330)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Jonathan Steel <jsteel at archlinux.org>
-
-pkgname=cmatrix
-pkgver=1.2a
-pkgrel=8
-pkgdesc="A curses-based scrolling 'Matrix'-like screen"
-arch=('i686' 'x86_64')
-url="http://www.asty.org/cmatrix/"
-license=('GPL2')
-depends=('ncurses' 'fontconfig')
-install=$pkgname.install
-source=(http://www.asty.org/$pkgname/dist/$pkgname-$pkgver.tar.gz)
-md5sums=('ebfb5733104a258173a9ccf2669968a1')
-
-build() {
-  cd $pkgname-$pkgver
-
-  CPPFLAGS="-D_FORTIFY_SOURCE=0" ./configure \
-    --prefix=/usr --mandir=/usr/share/man
-
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  make DESTDIR="$pkgdir" install
-  
-  install -Dm644 mtx.pcf "$pkgdir"/usr/share/fonts/misc/mtx.pcf
-  install -Dm644 matrix.fnt "$pkgdir"/usr/share/kbd/consolefonts/matrix.fnt
-  install -Dm644 matrix.psf.gz "$pkgdir"/usr/share/kbd/consolefonts/matrix.psf.gz
-
-  for i in AUTHORS NEWS COPYING README ChangeLog TODO INSTALL; do
-    install -Dm644 $i "$pkgdir"/usr/share/doc/$pkgname/$i
-  done
-}

Copied: cmatrix/repos/community-i686/PKGBUILD (from rev 122329, cmatrix/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2014-11-11 00:45:30 UTC (rev 122330)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Jonathan Steel <jsteel at archlinux.org>
+
+pkgname=cmatrix
+pkgver=1.2a
+pkgrel=9
+pkgdesc="A curses-based scrolling 'Matrix'-like screen"
+arch=('i686' 'x86_64')
+url="http://www.asty.org/cmatrix/"
+license=('GPL2')
+depends=('ncurses')
+makedepends=('fontconfig')
+optdepends=('fontconfig: custom font'
+            'kdb: cmatrix-tty custom font'
+            'xterm: cmatrix-tty custom font')
+install=$pkgname.install
+source=("http://www.asty.org/$pkgname/dist/$pkgname-$pkgver.tar.gz"
+        "cmatrix-tty")
+md5sums=('ebfb5733104a258173a9ccf2669968a1'
+         'db4371d5cb649973bfea31c2b932d260')
+
+build() {
+  cd $pkgname-$pkgver
+
+  CPPFLAGS="-D_FORTIFY_SOURCE=0" ./configure \
+    --prefix=/usr --mandir=/usr/share/man
+
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make DESTDIR="$pkgdir" install
+  
+  install -Dm644 mtx.pcf "$pkgdir/usr/share/fonts/misc/mtx.pcf"
+  install -Dm644 matrix.fnt "$pkgdir/usr/share/kbd/consolefonts/matrix.fnt"
+  install -Dm644 matrix.psf.gz "$pkgdir/usr/share/kbd/consolefonts/matrix.psf.gz"
+  install -Dm755 "$srcdir/cmatrix-tty" "$pkgdir/usr/bin/cmatrix-tty"
+
+  for i in AUTHORS NEWS COPYING README ChangeLog TODO INSTALL; do
+    install -Dm644 $i "$pkgdir/usr/share/doc/$pkgname/$i"
+  done
+}

Copied: cmatrix/repos/community-i686/cmatrix-tty (from rev 122329, cmatrix/trunk/cmatrix-tty)
===================================================================
--- community-i686/cmatrix-tty	                        (rev 0)
+++ community-i686/cmatrix-tty	2014-11-11 00:45:30 UTC (rev 122330)
@@ -0,0 +1,33 @@
+#!/bin/bash
+
+# a basic script for maximum pretty
+
+# X-based modes
+if [[ -n "$DISPLAY" && -x /usr/bin/aterm ]]; then
+  exec aterm -fn mtx -e cmatrix -abox
+  exit
+fi
+if [[ -n "$DISPLAY" && -x /usr/bin/xterm ]]; then
+  exec xterm -fn mtx -en iso1252 -e cmatrix -abx
+  exit
+fi
+
+# safe mode
+if [[ "$TERM" != "linux" ]]; then
+    exec cmatrix -abo
+    exit
+fi
+
+# custom font mode
+setfont matrix
+cmatrix -abol
+
+# and put the font back, if possible
+default_font=""
+if [[ -f /etc/vconsole.conf ]]; then
+    default_font="$(grep '^[ \t]*FONT' /etc/vconsole.conf | cut -d '=' -f 2)"
+fi
+if [[ -n "$default_font" ]]; then
+    setfont "$default_font"
+fi
+

Deleted: community-i686/cmatrix.install
===================================================================
--- community-i686/cmatrix.install	2014-11-11 00:44:45 UTC (rev 122329)
+++ community-i686/cmatrix.install	2014-11-11 00:45:30 UTC (rev 122330)
@@ -1,3 +0,0 @@
-post_install() {
-  fc-cache
-}

Copied: cmatrix/repos/community-i686/cmatrix.install (from rev 122329, cmatrix/trunk/cmatrix.install)
===================================================================
--- community-i686/cmatrix.install	                        (rev 0)
+++ community-i686/cmatrix.install	2014-11-11 00:45:30 UTC (rev 122330)
@@ -0,0 +1,6 @@
+post_install() {
+  if [[ -x /usr/bin/fc-cache ]]; then
+    fc-cache
+  fi
+}
+

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2014-11-11 00:44:45 UTC (rev 122329)
+++ community-x86_64/PKGBUILD	2014-11-11 00:45:30 UTC (rev 122330)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Jonathan Steel <jsteel at archlinux.org>
-
-pkgname=cmatrix
-pkgver=1.2a
-pkgrel=8
-pkgdesc="A curses-based scrolling 'Matrix'-like screen"
-arch=('i686' 'x86_64')
-url="http://www.asty.org/cmatrix/"
-license=('GPL2')
-depends=('ncurses' 'fontconfig')
-install=$pkgname.install
-source=(http://www.asty.org/$pkgname/dist/$pkgname-$pkgver.tar.gz)
-md5sums=('ebfb5733104a258173a9ccf2669968a1')
-
-build() {
-  cd $pkgname-$pkgver
-
-  CPPFLAGS="-D_FORTIFY_SOURCE=0" ./configure \
-    --prefix=/usr --mandir=/usr/share/man
-
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  make DESTDIR="$pkgdir" install
-  
-  install -Dm644 mtx.pcf "$pkgdir"/usr/share/fonts/misc/mtx.pcf
-  install -Dm644 matrix.fnt "$pkgdir"/usr/share/kbd/consolefonts/matrix.fnt
-  install -Dm644 matrix.psf.gz "$pkgdir"/usr/share/kbd/consolefonts/matrix.psf.gz
-
-  for i in AUTHORS NEWS COPYING README ChangeLog TODO INSTALL; do
-    install -Dm644 $i "$pkgdir"/usr/share/doc/$pkgname/$i
-  done
-}

Copied: cmatrix/repos/community-x86_64/PKGBUILD (from rev 122329, cmatrix/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2014-11-11 00:45:30 UTC (rev 122330)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Jonathan Steel <jsteel at archlinux.org>
+
+pkgname=cmatrix
+pkgver=1.2a
+pkgrel=9
+pkgdesc="A curses-based scrolling 'Matrix'-like screen"
+arch=('i686' 'x86_64')
+url="http://www.asty.org/cmatrix/"
+license=('GPL2')
+depends=('ncurses')
+makedepends=('fontconfig')
+optdepends=('fontconfig: custom font'
+            'kdb: cmatrix-tty custom font'
+            'xterm: cmatrix-tty custom font')
+install=$pkgname.install
+source=("http://www.asty.org/$pkgname/dist/$pkgname-$pkgver.tar.gz"
+        "cmatrix-tty")
+md5sums=('ebfb5733104a258173a9ccf2669968a1'
+         'db4371d5cb649973bfea31c2b932d260')
+
+build() {
+  cd $pkgname-$pkgver
+
+  CPPFLAGS="-D_FORTIFY_SOURCE=0" ./configure \
+    --prefix=/usr --mandir=/usr/share/man
+
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make DESTDIR="$pkgdir" install
+  
+  install -Dm644 mtx.pcf "$pkgdir/usr/share/fonts/misc/mtx.pcf"
+  install -Dm644 matrix.fnt "$pkgdir/usr/share/kbd/consolefonts/matrix.fnt"
+  install -Dm644 matrix.psf.gz "$pkgdir/usr/share/kbd/consolefonts/matrix.psf.gz"
+  install -Dm755 "$srcdir/cmatrix-tty" "$pkgdir/usr/bin/cmatrix-tty"
+
+  for i in AUTHORS NEWS COPYING README ChangeLog TODO INSTALL; do
+    install -Dm644 $i "$pkgdir/usr/share/doc/$pkgname/$i"
+  done
+}

Copied: cmatrix/repos/community-x86_64/cmatrix-tty (from rev 122329, cmatrix/trunk/cmatrix-tty)
===================================================================
--- community-x86_64/cmatrix-tty	                        (rev 0)
+++ community-x86_64/cmatrix-tty	2014-11-11 00:45:30 UTC (rev 122330)
@@ -0,0 +1,33 @@
+#!/bin/bash
+
+# a basic script for maximum pretty
+
+# X-based modes
+if [[ -n "$DISPLAY" && -x /usr/bin/aterm ]]; then
+  exec aterm -fn mtx -e cmatrix -abox
+  exit
+fi
+if [[ -n "$DISPLAY" && -x /usr/bin/xterm ]]; then
+  exec xterm -fn mtx -en iso1252 -e cmatrix -abx
+  exit
+fi
+
+# safe mode
+if [[ "$TERM" != "linux" ]]; then
+    exec cmatrix -abo
+    exit
+fi
+
+# custom font mode
+setfont matrix
+cmatrix -abol
+
+# and put the font back, if possible
+default_font=""
+if [[ -f /etc/vconsole.conf ]]; then
+    default_font="$(grep '^[ \t]*FONT' /etc/vconsole.conf | cut -d '=' -f 2)"
+fi
+if [[ -n "$default_font" ]]; then
+    setfont "$default_font"
+fi
+

Deleted: community-x86_64/cmatrix.install
===================================================================
--- community-x86_64/cmatrix.install	2014-11-11 00:44:45 UTC (rev 122329)
+++ community-x86_64/cmatrix.install	2014-11-11 00:45:30 UTC (rev 122330)
@@ -1,3 +0,0 @@
-post_install() {
-  fc-cache
-}

Copied: cmatrix/repos/community-x86_64/cmatrix.install (from rev 122329, cmatrix/trunk/cmatrix.install)
===================================================================
--- community-x86_64/cmatrix.install	                        (rev 0)
+++ community-x86_64/cmatrix.install	2014-11-11 00:45:30 UTC (rev 122330)
@@ -0,0 +1,6 @@
+post_install() {
+  if [[ -x /usr/bin/fc-cache ]]; then
+    fc-cache
+  fi
+}
+



More information about the arch-commits mailing list