blob: b87a9fe5332d8a2adeee217e3efcbd5ed4892ef3 (
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
|
# Maintainer: acxz <akashpatel2008 at yahoo dot com>
pkgname=recastnavigation-git
pkgver=r744.9337e12
pkgrel=1
pkgdesc="Navigation-msh Toolset for Games"
url="https://github.com/recastnavigation/recastnavigation"
arch=(x86_64)
license=('Zlib')
makedepends=(git cmake sdl2 glut)
depends=(sdl2 glut)
provides=('recastnavigation')
conflicts=('recastnavigation')
_pkgname=recastnavigation
source=("git+https://github.com/recastnavigation/recastnavigation.git")
sha256sums=("SKIP")
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
mkdir -p "$srcdir/${_pkgname}/build"
cd "$srcdir/${_pkgname}/build"
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
..
make
}
package() {
cd "${srcdir}/${_pkgname}/build"
make DESDIR=${pkgdir} install
}
|