smlinux/extra/micro-tetris/micro-tetris.SMBuild

27 lines
No EOL
642 B
Text
Executable file

APP=micro-tetris
VERSION=1.4.0
BUILD=1sml
HOMEPAGE="https://github.com/troglobit/tetris/archive/refs/tags/1.4.0.tar.gz"
DOWNLOAD="https://github.com/troglobit/tetris/"
DESC="Small Tetris implementations utilising ANSI escape sequences"
REQUIRES="musl "
build() {
mkandenterbuilddir
rm -rf tetris-$VERSION
tar xf $SRCDIR/tetris-$VERSION.tar.?z**
cd tetris-$VERSION
fixbuilddirpermissions
make
make install DESTDIR=$PKG
cp LICENSE $PKGDOCS/
mkfinalpkg
}
SHA512SUMS="
034e85028ab71e050de14775da2538ed6f2e27db9ae095c32982d5d32effdf17643f68cb43d72ef176855c909f264e45b9b6ae05c39bfd240ae08277f4523c78 tetris-1.4.0.tar.gz
"