void-packages/srcpkgs/Chipmunk2D/template

30 lines
750 B
Bash

# Template file for 'Chipmunk2D'
pkgname=Chipmunk2D
version=7.0.2
revision=1
wrksrc="Chipmunk2D-Chipmunk-${version}"
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="http://chipmunk-physics.net/"
distfiles="https://github.com/slembcke/Chipmunk2D/archive/Chipmunk-${version}.tar.gz"
checksum=6b6d8d5d910c4442fb9c8c4c46a178126d8c21d075cdb3ce439a7f8d8757b0ca
patch_args=-Np0
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"
}
}