Date: Friday, November 9, 2018 @ 22:53:20 Author: foutrelis Revision: 405116
archrelease: copy trunk to community-staging-x86_64 Added: qml-box2d/repos/community-staging-x86_64/ qml-box2d/repos/community-staging-x86_64/PKGBUILD (from rev 405114, qml-box2d/trunk/PKGBUILD) ----------+ PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) Copied: qml-box2d/repos/community-staging-x86_64/PKGBUILD (from rev 405114, qml-box2d/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-11-09 22:53:20 UTC (rev 405116) @@ -0,0 +1,33 @@ +# Maintainer: Evangelos Foutras <evange...@foutrelis.com> + +pkgname=qml-box2d +pkgver=20160102 +_commit=1b37be7d9dfb44ec6d520595a4e4f45f63717822 +pkgrel=2 +pkgdesc="Box2D QML plugin" +url="https://github.com/qml-box2d/qml-box2d" +arch=('x86_64') +license=('BSD') +depends=('qt5-declarative') +makedepends=('git') +source=("git+https://github.com/qml-box2d/qml-box2d.git#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + git log -1 --date=format:%Y%m%d --pretty=format:%cd +} + +build() { + cd $pkgname + qmake + make +} + +package() { + cd $pkgname + make INSTALL_ROOT="$pkgdir" install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} + +# vim:set ts=2 sw=2 et: