void-packages/srcpkgs/vitetris/template

20 lines
680 B
Bash

# Template file for 'vitetris'
pkgname=vitetris
version=0.59.1
revision=1
build_style=configure
configure_args="--prefix=/usr --with-ncurses --without-x"
make_dirs="/var/games/vitetris 0755 root users"
makedepends="ncurses-devel"
short_desc="Terminal-based Tetris clone"
maintainer="classabbyamp <void@placeviolette.net>"
license="BSD-2-Clause"
homepage="http://www.victornils.net/tetris/"
distfiles="https://github.com/vicgeralds/vitetris/archive/v${version}.tar.gz"
checksum=699443df03c8d4bf2051838c1015da72039bbbdd0ab0eede891c59c840bdf58d
post_install() {
sed -i 's/Exec=tetris/Exec=vitetris/' $DESTDIR/usr/share/applications/vitetris.desktop
vlicense licence.txt LICENSE
}