Commit | Line | Data |
---|---|---|
35d5ba79 VM |
1 | # Description: A clone of the Mastermind game made with ncurses |
2 | # URL: http://sourceforge.net/projects/braincurses/ | |
3 | # Maintainer: Victor Martinez, pitillo at ono dot com | |
4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu | |
5 | # Depends on: ncurses | |
6 | ||
7 | name=braincurses | |
8 | version=0.5b | |
9 | release=1 | |
10 | source=(http://dl.sourceforge.net/project/$name/$name/$name-$version/$name-$version.tar.gz \ | |
11 | braincurses-0.5b.patch) | |
12 | ||
13 | build() { | |
14 | cd $name-$version | |
15 | patch -p0 -i $SRC/$name-$version.patch | |
16 | sed "s|\${CURSES_LIBS}|\${CURSES_LIBS} -lstdc++|g" -i Makefile | |
17 | make CC="$CC" | |
18 | install -D -m 0755 $name $PKG/usr/bin/$name | |
19 | } |