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
"