void-packages/srcpkgs/vitetris/template

20 lines
680 B
Bash

# Template file for 'vitetris'
pkgname=vitetris
version=0.58.0
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="bra1nwave <brainwave@openmailbox.org>"
license="BSD-2-Clause"
homepage="http://www.victornils.net/tetris/"
distfiles="https://github.com/vicgeralds/vitetris/archive/v${version}.tar.gz"
checksum=e7e7cb74bb814b9fec80fe4ede3c3f04134d8217d630e092a097238248d604f9
post_install() {
sed -i 's/Exec=tetris/Exec=vitetris/' $DESTDIR/usr/share/applications/vitetris.desktop
vlicense licence.txt LICENSE
}