# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=qml-box2d
pkgver=0.1.0_pre20180109
_hash=21e57f1c0fbf6e65072c269f89d98a94ed5d7f7f
pkgrel=1
pkgdesc="Physics plugin for QML"
url="https://github.com/qml-box2d/qml-box2d"
arch="all"
options="!check"  # All tests are interactive.
license="Zlib"
depends=""
makedepends="qt5-qtbase-dev qt5-qtdeclarative-dev" 
source="qml-box2d-$pkgver.tar.gz::https://github.com/qml-box2d/qml-box2d/archive/$_hash.tar.gz"
builddir="$srcdir/qml-box2d-$_hash"

build() {
	qmake
	make
}

package() {
	make install INSTALL_ROOT="$pkgdir"
}

sha512sums="89a60ef138bd2790d17e1213dcdd611a8a3e763f4a0a35cdae565385868ce6957f0114c538d19f0e50fc87b660611cd65d38b8aa563f344fd5741a65eb5fed70  qml-box2d-0.1.0_pre20180109.tar.gz"