summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtto Naderer2015-06-09 11:18:30 +0200
committerOtto Naderer2015-06-09 11:18:30 +0200
commit38edbc38a8075e2a5d92f2e306442f1fb141c4fd (patch)
tree811c6ecadb591bbf14fd577cbe1639740aa8aa72
downloadaur-38edbc38a8075e2a5d92f2e306442f1fb141c4fd.tar.gz
import over from old AUR
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD36
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8e738e6a708
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = irrdynamics
+ pkgdesc = A light-weight Bullet Physics wrapper for the Irrlicht graphics engine
+ pkgver = 9.276fd3e
+ pkgrel = 1
+ url = https://github.com/ottona/irrdynamics
+ arch = i686
+ arch = x86_64
+ arch = armv7h
+ arch = armv6h
+ license = zlib
+ makedepends = git
+ depends = bullet
+ depends = irrlicht
+ source = git://github.com/ottona/irrdynamics.git
+ md5sums = SKIP
+
+pkgname = irrdynamics
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e41f7bbee63
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Otto Naderer <otto.naderer@openmailbox.org>
+pkgname=irrdynamics
+pkgver=9.276fd3e
+pkgrel=1
+pkgdesc="A light-weight Bullet Physics wrapper for the Irrlicht graphics
+engine"
+arch=(i686 x86_64 armv7h armv6h)
+url="https://github.com/ottona/irrdynamics"
+license=('zlib')
+groups=()
+depends=(bullet irrlicht)
+makedepends=('git')
+source=("git://github.com/ottona/irrdynamics.git")
+md5sums=("SKIP")
+
+_gitname=irrdynamics
+
+build() {
+ cd "$srcdir/$_gitname"
+ make config=release
+}
+
+package() {
+ cd "$srcdir/$_gitname"
+ mkdir -p "$pkgdir/usr/lib/"
+ mkdir -p "$pkgdir/usr/include/irrDynamics"
+ pwd
+ install lib/* "$pkgdir/usr/lib/"
+ install include/* "$pkgdir/usr/include/irrDynamics"
+}
+
+pkgver() {
+ cd $_gitname
+ echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+}
+