# Maintainer: PktSurf <smlinux@pktsurf.in>
app=micro-tetris
version=1.4.0
build=1sml
homepage="https://github.com/troglobit/tetris/"
download="https://github.com/troglobit/tetris/archive/refs/tags/$version.tar.gz"
desc="Small Tetris implementations utilising ANSI escape sequences"
requires="musl"

prepbuilddir() {
  mkandenterbuilddir
  rm -rf tetris-$version

  tar xf $srcdir/tetris-$version.tar.?z**
  cd tetris-$version 
  fixbuilddirpermissions
}

build() {
  make
  make install DESTDIR=$pkg 

  cp LICENSE $pkgdocs/

  mkfinalpkg
}

sha512sums="
be783084105e7346a610c781ef8a62aeedb95fe55d20da701c47f3701c20d80733b01c2d86af75669de1136b4c080170e709b705bd3ea4c3afdae1486b8a2342  tetris-1.4.0.tar.lz
"
