summaryrefslogtreecommitdiff
path: root/repo/cmatrix/cmatrix.xibuild
blob: 3d2befb3869b93a9cf6b618bade9d075eaabf690 (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
#!/bin/sh

NAME="cmatrix"
DESC="Terminal based 'The Matrix' like implementation"

MAKEDEPS=" ncurses kbd autoconf automake"

PKG_VER=2.0
SOURCE="https://github.com/abishekvashok/cmatrix/archive/v$PKG_VER.tar.gz"

prepare() {
	autoreconf -i
}

build() {
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$PKG_DEST" install
}