[arch-commits] Commit in qml-box2d/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 13:11:51 UTC 2020
Date: Tuesday, July 7, 2020 @ 13:11:51
Author: felixonmars
Revision: 658364
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 658363, qml-box2d/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: qml-box2d/repos/community-staging-x86_64/PKGBUILD (from rev 658363, qml-box2d/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 13:11:51 UTC (rev 658364)
@@ -0,0 +1,33 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+
+pkgname=qml-box2d
+pkgver=20160102
+_commit=1b37be7d9dfb44ec6d520595a4e4f45f63717822
+pkgrel=3
+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:
More information about the arch-commits
mailing list