void-packages/srcpkgs/vitetris/template

20 lines
680 B
Bash

# Template file for 'vitetris'
pkgname=vitetris
version=0.57.2
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=c023b33f663a7a47418652b520e83cdcf8d395584e30ec4bcb5e2b3563d4372b
post_install() {
sed -i 's/Exec=tetris/Exec=vitetris/' $DESTDIR/usr/share/applications/vitetris.desktop
vlicense licence.txt LICENSE
}