summaryrefslogtreecommitdiff
path: root/community/cmatrix
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-02 01:06:16 -0700
committerroot <root@rshg054.dnsready.net>2012-10-02 01:06:16 -0700
commit941550cbc215d608bd18439f99500b74fbb80f0d (patch)
treeced50aee5db693d8495b19c59d2bdbd6927c9393 /community/cmatrix
parent9b6be78b0c13a61c14d5278f1363eaf9c6388e4c (diff)
Tue Oct 2 01:06:06 PDT 2012
Diffstat (limited to 'community/cmatrix')
-rw-r--r--community/cmatrix/PKGBUILD30
-rw-r--r--community/cmatrix/cmatrix.install3
2 files changed, 33 insertions, 0 deletions
diff --git a/community/cmatrix/PKGBUILD b/community/cmatrix/PKGBUILD
new file mode 100644
index 000000000..2506b8326
--- /dev/null
+++ b/community/cmatrix/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 76875 2012-10-01 14:55:29Z bisson $
+# Maintainer:
+
+pkgname=cmatrix
+pkgver=1.2a
+pkgrel=6
+pkgdesc="Let you see the matrix code in your console"
+arch=('i686' 'x86_64')
+url="http://www.asty.org/cmatrix/"
+license=('GPL')
+depends=('ncurses' 'fontconfig')
+install=cmatrix.install
+source=(http://www.asty.org/cmatrix/dist/$pkgname-$pkgver.tar.gz)
+md5sums=('ebfb5733104a258173a9ccf2669968a1')
+sha1sums=('ca078c10322a47e327f07a44c9a42b52eab5ad93')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd "$srcdir/$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"
+}
diff --git a/community/cmatrix/cmatrix.install b/community/cmatrix/cmatrix.install
new file mode 100644
index 000000000..c46fe4469
--- /dev/null
+++ b/community/cmatrix/cmatrix.install
@@ -0,0 +1,3 @@
+post_install() {
+ fc-cache
+}