void-packages/srcpkgs/Chipmunk2D/template

28 lines
695 B
Bash

# Template file for 'Chipmunk2D'
pkgname=Chipmunk2D
version=7.0.3
revision=1
build_style=cmake
configure_args="-DBUILD_DEMOS=NO"
short_desc="Fast and lightweight 2D game physics library"
maintainer="Ekaterina Vaartis <vaartis@cock.li>"
license="MIT"
homepage="https://chipmunk-physics.net/"
distfiles="https://github.com/slembcke/Chipmunk2D/archive/Chipmunk-${version}.tar.gz"
checksum=1e6f093812d6130e45bdf4cb80280cb3c93d1e1833d8cf989d554d7963b7899a
post_install() {
vlicense LICENSE.txt
}
Chipmunk2D-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}