2006-11-20 07:26:53 +10:00
|
|
|
# Description: Show a scrolling 'Matrix' like screen in Linux.
|
|
|
|
# URL: http://www.asty.org/cmatrix/
|
2008-03-06 00:28:17 +01:00
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
2008-05-16 19:48:04 +02:00
|
|
|
# Packager: Vincenzo Colosimo vico at bicisport dot de
|
2019-04-10 00:57:29 +02:00
|
|
|
# Depends on: cmake
|
2006-11-14 09:01:22 +10:00
|
|
|
|
|
|
|
name=cmatrix
|
2019-04-10 00:57:29 +02:00
|
|
|
version=2.0
|
2006-11-14 09:01:22 +10:00
|
|
|
release=1
|
2019-04-10 00:57:29 +02:00
|
|
|
source=(https://github.com/abishekvashok/cmatrix/archive/v$version/$name-v$version.tar.gz)
|
2006-11-14 09:01:22 +10:00
|
|
|
|
|
|
|
build() {
|
2020-05-25 19:11:43 +00:00
|
|
|
cmake -S$name-$version -Bbuild \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
|
|
cmake --build build
|
|
|
|
DESTDIR=$PKG cmake --build build --target install
|
2006-11-14 09:01:22 +10:00
|
|
|
|
2020-05-25 19:11:43 +00:00
|
|
|
install -D -m644 -groot -oroot $name-$version/cmatrix.1 $PKG/usr/share/man/1/cmatrix.1
|
|
|
|
install -D -m644 -groot -oroot $name-$version/matrix.fnt $PKG/usr/share/kbd/consolefonts/matrix.fnt
|
|
|
|
install -D -m644 -groot -oroot $name-$version/matrix.psf.gz $PKG/usr/share/kbd/consolefonts/matrix.psf.gz
|
|
|
|
install -D -m644 -groot -oroot $name-$version/mtx.pcf $PKG/usr/share/fonts/X11/misc/mtx.pcf
|
2006-11-14 09:01:22 +10:00
|
|
|
}
|