void-packages/srcpkgs/vitetris/template

20 lines
665 B
Bash

# Template file for 'vitetris'
pkgname=vitetris
version=0.57
revision=2
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"
homepage="http://www.victornils.net/tetris/"
distfiles="http://www.victornils.net/tetris/${pkgname}-${version}.tar.gz"
checksum=0c9fa6c8b16e2f8968f65e16a87f1bcd39b827d510c6efb0771f0400ab91cdc2
post_install() {
sed -i 's/Exec=tetris/Exec=vitetris/' $DESTDIR/usr/share/applications/vitetris.desktop
vlicense licence.txt LICENSE
}