void-packages/srcpkgs/qml-box2d/template

23 lines
617 B
Bash

# Template file for 'qml-box2d'
pkgname=qml-box2d
version=0.0.20171025
revision=1
_commit=2ffec306f13837a3892ba6e1609dd24b69e0127f
wrksrc="qml-box2d-${_commit}"
build_style=qmake
makedepends="qt5-declarative-devel"
maintainer="cr6git <quark6@protonmail.com>"
short_desc="Box2D QML plugin"
homepage="https://github.com/qml-box2d/qml-box2d"
license="BSD"
distfiles="https://github.com/qml-box2d/qml-box2d/archive/${_commit}.tar.gz"
checksum=2da37c23f4d0c6d0edf240e45b46e9bc89466251d7da4e6b5966c6db84aad4f0
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-declarative-devel"
fi
post_install() {
vlicense COPYING
}