void-packages/srcpkgs/Cendric/template

32 lines
792 B
Bash

# Template file for 'Cendric'
pkgname=Cendric
version=1.1.3
revision=1
wrksrc="Cendric2-${version}"
repository=nonfree
build_style=cmake
configure_args="-DUSE_SYSTEM_SFML=on -DCENDRIC_EXTERNAL_DOCUMENT_FOLDER=on
-DUSE_SYSTEM_PATHS=on"
makedepends="SFML-devel"
depends="Cendric-data"
short_desc="RPG Platformer"
maintainer="John <johnz@posteo.net>"
license="MIT, CC-BY-NC-SA-4.0"
homepage="http://cendric.ch/"
distfiles="https://github.com/tizian/Cendric2/archive/${version}.tar.gz"
checksum=db1c251425d2e941352e294514d4af984e537519b97237e70503f8c6bd2d2d90
post_install() {
vlicense LICENSES/CC-BY-NC-SA-4.0.txt CC-BY-NC-SA-4.0
vlicense LICENSES/MIT.txt MIT
}
Cendric-data_package() {
short_desc+=" - data files"
repository=nonfree
archs=noarch
pkg_install() {
vmove usr/share
}
}