void-packages/srcpkgs/instead/template

22 lines
757 B
Bash

# Template file for 'instead'
pkgname=instead
version=3.2.1
revision=1
build_style=cmake
build_options="gtk3 sdl2"
build_options_default="sdl2"
configure_args="$(vopt_if sdl2 -DWITH_SDL2=ON) $(vopt_if gtk3 -DWITH_GTK3=ON)"
makedepends="lua51-devel $(vopt_if gtk3 'gtk+3-devel' 'gtk+-devel')
$(vopt_if sdl2 'SDL2_image-devel SDL2_mixer-devel
SDL2_ttf-devel' 'SDL_image-devel SDL_mixer-devel SDL_ttf-devel')"
short_desc="Interactive fiction interpreter"
maintainer="SolitudeSF <solitudesf@protonmail.com>"
license="MIT"
homepage="https://instead-hub.github.io"
distfiles="${SOURCEFORGE_SITE}/instead/instead/${version}/instead_${version}.tar.gz"
checksum=241556db250e0a156b98beaf9bb71b54fc9d186130910adbeab1c1961757dad2
post_intall() {
vlicense COPYING
}