void-packages/srcpkgs/instead/template

25 lines
872 B
Bash

# Template file for 'instead'
pkgname=instead
version=3.3.1
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=00879f36ad9221fd75c7497dd091460c7477fc6e53151a0ea50a342b1bbb7781
build_options="gtk3 sdl2"
build_options_default="sdl2"
post_install() {
vlicense COPYING
}