summaryrefslogtreecommitdiff
path: root/extra/cmatrix/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/cmatrix/PKGBUILD')
-rw-r--r--extra/cmatrix/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/extra/cmatrix/PKGBUILD b/extra/cmatrix/PKGBUILD
new file mode 100644
index 000000000..ad4ad301c
--- /dev/null
+++ b/extra/cmatrix/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 53887 2009-10-03 18:54:48Z eric $
+# Contributor: john
+
+pkgname=cmatrix
+pkgver=1.2a
+pkgrel=5
+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=$pkgname.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 || return 1
+ make || return 1
+ make DESTDIR="$pkgdir" install || return 1
+
+ install -Dm644 mtx.pcf "$pkgdir/usr/share/fonts/misc/mtx.pcf" || return 1
+ install -Dm644 matrix.fnt "$pkgdir/usr/share/kbd/consolefonts/matrix.fnt" || return 1
+ install -m644 matrix.psf.gz "$pkgdir/usr/share/kbd/consolefonts" || return 1
+}