* add recastnavigation
This commit is contained in:
parent
10ad6f4296
commit
68d77df0cc
18
recastnavigation/.SRCINFO
Normal file
18
recastnavigation/.SRCINFO
Normal file
@ -0,0 +1,18 @@
|
||||
pkgbase = recastnavigation
|
||||
pkgdesc = Navigation-msh toolset for games
|
||||
pkgver = 1.6.0
|
||||
pkgrel = 2
|
||||
url = http://recastnav.com/
|
||||
arch = x86_64
|
||||
license = Zlib
|
||||
makedepends = cmake
|
||||
makedepends = git
|
||||
depends = gcc-libs
|
||||
depends = glibc
|
||||
depends = glu
|
||||
depends = libglvnd
|
||||
depends = sdl2
|
||||
source = git+https://github.com/recastnavigation/recastnavigation#tag=v1.6.0
|
||||
sha256sums = 73ca8832247f5d1bb166debacf1dd9bcf5a800c7e00a201356866e38b5f0c349
|
||||
|
||||
pkgname = recastnavigation
|
4
recastnavigation/.nvchecker.toml
Normal file
4
recastnavigation/.nvchecker.toml
Normal file
@ -0,0 +1,4 @@
|
||||
[recastnavigation]
|
||||
source = "git"
|
||||
git = "https://github.com/recastnavigation/recastnavigation.git"
|
||||
prefix = "v"
|
32
recastnavigation/PKGBUILD
Normal file
32
recastnavigation/PKGBUILD
Normal file
@ -0,0 +1,32 @@
|
||||
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
||||
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
||||
# Contributor: acxz <akashpatel2008 at yahoo dot com>
|
||||
|
||||
pkgname=recastnavigation
|
||||
pkgver=1.6.0
|
||||
pkgrel=2
|
||||
pkgdesc='Navigation-msh toolset for games'
|
||||
url='http://recastnav.com/'
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
license=(Zlib)
|
||||
depends=(gcc-libs
|
||||
glibc
|
||||
glu
|
||||
libglvnd
|
||||
sdl2)
|
||||
makedepends=(cmake
|
||||
git)
|
||||
source=(git+https://github.com/recastnavigation/recastnavigation#tag=v$pkgver)
|
||||
sha256sums=('73ca8832247f5d1bb166debacf1dd9bcf5a800c7e00a201356866e38b5f0c349')
|
||||
|
||||
build() {
|
||||
cmake -B build -S $pkgname \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
install -Dm644 $pkgname/License.txt -t "$pkgdir"/usr/share/licenses/$pkgname
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user