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

Evangelos Foutras foutrelis at archlinux.org
Sun Sep 6 18:43:30 UTC 2015


    Date: Sunday, September 6, 2015 @ 20:43:29
  Author: foutrelis
Revision: 139316

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

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

------------------------------------------+
 community-staging-i686/PKGBUILD          |   44 +++++++++++++++++++++++++++++
 community-staging-i686/cmatrix-tty       |   39 +++++++++++++++++++++++++
 community-staging-i686/cmatrix.install   |    6 +++
 community-staging-x86_64/PKGBUILD        |   44 +++++++++++++++++++++++++++++
 community-staging-x86_64/cmatrix-tty     |   39 +++++++++++++++++++++++++
 community-staging-x86_64/cmatrix.install |    6 +++
 6 files changed, 178 insertions(+)

Copied: cmatrix/repos/community-staging-i686/PKGBUILD (from rev 139315, cmatrix/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-09-06 18:43:29 UTC (rev 139316)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Jonathan Steel <jsteel at archlinux.org>
+
+pkgname=cmatrix
+pkgver=1.2a
+pkgrel=11
+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'
+            'kbd: 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'
+         '6bb2431c23350cb2082e14b6ba761760')
+
+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-staging-i686/cmatrix-tty (from rev 139315, cmatrix/trunk/cmatrix-tty)
===================================================================
--- community-staging-i686/cmatrix-tty	                        (rev 0)
+++ community-staging-i686/cmatrix-tty	2015-09-06 18:43:29 UTC (rev 139316)
@@ -0,0 +1,39 @@
+#!/bin/sh
+
+# 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
+    while IFS='=' read -r k v; do
+        if [ "${k# *}" = FONT ]; then
+             default_font="$v"
+        fi
+    done < /etc/vconsole.conf
+fi
+if [[ -n "$default_font" ]]; then
+    setfont "$default_font"
+else
+    echo "No font in vconsole.conf, could not restore."
+fi
+

Copied: cmatrix/repos/community-staging-i686/cmatrix.install (from rev 139315, cmatrix/trunk/cmatrix.install)
===================================================================
--- community-staging-i686/cmatrix.install	                        (rev 0)
+++ community-staging-i686/cmatrix.install	2015-09-06 18:43:29 UTC (rev 139316)
@@ -0,0 +1,6 @@
+post_install() {
+  if [[ -x /usr/bin/fc-cache ]]; then
+    fc-cache
+  fi
+}
+

Copied: cmatrix/repos/community-staging-x86_64/PKGBUILD (from rev 139315, cmatrix/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-09-06 18:43:29 UTC (rev 139316)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Jonathan Steel <jsteel at archlinux.org>
+
+pkgname=cmatrix
+pkgver=1.2a
+pkgrel=11
+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'
+            'kbd: 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'
+         '6bb2431c23350cb2082e14b6ba761760')
+
+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-staging-x86_64/cmatrix-tty (from rev 139315, cmatrix/trunk/cmatrix-tty)
===================================================================
--- community-staging-x86_64/cmatrix-tty	                        (rev 0)
+++ community-staging-x86_64/cmatrix-tty	2015-09-06 18:43:29 UTC (rev 139316)
@@ -0,0 +1,39 @@
+#!/bin/sh
+
+# 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
+    while IFS='=' read -r k v; do
+        if [ "${k# *}" = FONT ]; then
+             default_font="$v"
+        fi
+    done < /etc/vconsole.conf
+fi
+if [[ -n "$default_font" ]]; then
+    setfont "$default_font"
+else
+    echo "No font in vconsole.conf, could not restore."
+fi
+

Copied: cmatrix/repos/community-staging-x86_64/cmatrix.install (from rev 139315, cmatrix/trunk/cmatrix.install)
===================================================================
--- community-staging-x86_64/cmatrix.install	                        (rev 0)
+++ community-staging-x86_64/cmatrix.install	2015-09-06 18:43:29 UTC (rev 139316)
@@ -0,0 +1,6 @@
+post_install() {
+  if [[ -x /usr/bin/fc-cache ]]; then
+    fc-cache
+  fi
+}
+



More information about the arch-commits mailing list