blob: 4420dc78017a7c2623345922d57db3374c3833fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: Otto Naderer <otto.naderer@openmailbox.org>
pkgname=irrdynamics
pkgver=14.44650ee
pkgrel=1
pkgdesc="A light-weight Bullet Physics wrapper for the Irrlicht graphics engine"
arch=(i686 x86_64 armv7h armv6h)
url="https://git.socialnerds.org/otto/irrdynamics"
license=('zlib')
groups=()
depends=(bullet irrlicht)
makedepends=('git')
source=("git+https://git.socialnerds.org/otto/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)
}
|