vp-build/srcpkgs/Cendric/template

23 lines
670 B
Bash

# Template file for 'Cendric'.
pkgname=Cendric
version=1.1.3
revision=3
wrksrc="Cendric2-${version}"
build_style=cmake
configure_args="-DUSE_SYSTEM_SFML=on -DCENDRIC_EXTERNAL_DOCUMENT_FOLDER=on
-DUSE_SYSTEM_PATHS=on"
makedepends="SFML-devel"
short_desc="RPG Platformer"
maintainer="John <me@johnnynator.dev>"
license="MIT, CC-BY-NC-SA-4.0"
homepage="http://cendric.ch/"
distfiles="https://github.com/tizian/Cendric2/archive/${version}.tar.gz"
checksum=db1c251425d2e941352e294514d4af984e537519b97237e70503f8c6bd2d2d90
repository=nonfree
replaces="Cendric-data>=0"
post_install() {
vlicense LICENSES/CC-BY-NC-SA-4.0.txt CC-BY-NC-SA-4.0
vlicense LICENSES/MIT.txt MIT
}