void-packages/srcpkgs/instead/template

25 lines
872 B
Bash

# Template file for 'instead'
pkgname=instead
version=3.3.2
revision=1
build_style=cmake
configure_args="-DWITH_SDL2=$(vopt_if sdl2 ON OFF)
-DWITH_GTK3=$(vopt_if gtk3 ON OFF)"
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"
changelog="https://raw.githubusercontent.com/instead-hub/instead/master/ChangeLog"
distfiles="https://github.com/instead-hub/instead/releases/download/${version}/instead_${version}.tar.gz"
checksum=bb98f6903291bcc40fb06f2203ab8e05272ec84fded412482b6faa54bea3a90b
build_options="gtk3 sdl2"
build_options_default="sdl2"
post_install() {
vlicense COPYING
}