void-packages/srcpkgs/qml-box2d/template

22 lines
619 B
Bash

# Template file for 'qml-box2d'
pkgname=qml-box2d
version=0.0.20180406
revision=1
_commit=b7212d5640701f93f0cd88fbd3a32c619030ae62
wrksrc="qml-box2d-${_commit}"
build_style=qmake
makedepends="qt5-declarative-devel"
short_desc="Box2D QML plugin"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Zlib"
homepage="https://github.com/qml-box2d/qml-box2d"
distfiles="https://github.com/qml-box2d/qml-box2d/archive/${_commit}.tar.gz"
checksum=a9071d2a85aafe74cb431e12888cfb92bd19cb91f4f577edd73cd9692d5e152f
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-declarative-devel"
fi
post_install() {
vlicense COPYING
}