void-packages/srcpkgs/lugaru/template

28 lines
820 B
Bash

# Template file for 'lugaru'
pkgname=lugaru
version=1.2
revision=1
build_style=cmake
configure_args="-DSYSTEM_INSTALL=ON
-DCMAKE_INSTALL_BINDIR=bin
-DCMAKE_INSTALL_DATADIR=share
-DCMAKE_INSTALL_MANDIR=share/man"
hostmakedepends="pkg-config"
makedepends="SDL2-devel zlib-devel libvorbis-devel libopenal-devel libpng-devel libjpeg-turbo-devel glu-devel"
depends="lugaru-data"
short_desc="Third person ninja rabbit fighting game"
maintainer="John <johnz@posteo.net>"
license="GPL-2"
homepage="https://osslugaru.gitlab.io/"
distfiles="https://bitbucket.org/osslugaru/lugaru/downloads/lugaru-${version}.tar.xz"
checksum=f3ea477caf78911c69939fbdc163f9f6517c7ef2267e716a0e050be1a166ef97
lugaru-data_package() {
short_desc+=" - data files"
archs=noarch
license="CC-BY-SA-4"
pkg_install() {
vmove usr/share/lugaru
}
}