summaryrefslogtreecommitdiff
path: root/pcr/ncmatrix/PKGBUILD
blob: 398d679e8f7a8ec5394207a6a953cf821b06e20c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor (Arch): Aka <aka@worstofevils.net>
# Contributor (Arch): Erus <erus.iluvatar@gmail.com>
# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp>

pkgname=ncmatrix
pkgver=1.0
pkgrel=2
pkgdesc="A network version of cmatrix"
url="http://webpages.charter.net/tux/ncmatrix/index.htm"
arch=('i686' 'x86_64')
license=(GPL)
depends=('ncurses')
conflicts=('cmatrix')
options=('!buildflags')
source=(http://webpages.charter.net/tux/ncmatrix/ncmatrix-1.0.zip)
md5sums=('a8889a16f94b6672c7a033376d6c75fc')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
}

package() {
cd "$pkgname-$pkgver"
make PREFIX=/usr DESTDIR="$pkgdir" install
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 -Dm644 mtx.pcf $pkgdir/usr/share/fonts/misc/mtx.pcf 
install -D -m644 COPYING $startdir/pkg/usr/share/licenses/ncmatrix/LICENSE
}