Compare commits

...

No commits in common. "main" and "meshoptimizer" have entirely different histories.

3 changed files with 40 additions and 3 deletions

13
.SRCINFO Normal file
View file

@ -0,0 +1,13 @@
pkgbase = meshoptimizer
pkgdesc = Mesh optimization library that makes meshes smaller and faster to render
pkgver = 0.18
pkgrel = 1
url = https://github.com/zeux/meshoptimizer
arch = x86_64
license = MIT
makedepends = cmake
makedepends = ninja
source = https://github.com/zeux/meshoptimizer/archive/v0.18.tar.gz
sha256sums = f5bc07d7322e6292fe0afce03462b5c394d111386236f926fdc44d2aff3b854b
pkgname = meshoptimizer

27
PKGBUILD Normal file
View file

@ -0,0 +1,27 @@
# Author: mosra <mosra@centrum.cz>
pkgname=meshoptimizer
pkgver=0.18
pkgrel=1
pkgdesc='Mesh optimization library that makes meshes smaller and faster to render'
arch=(x86_64)
url='https://github.com/zeux/meshoptimizer'
license=(MIT)
makedepends=(cmake ninja)
source=("https://github.com/zeux/meshoptimizer/archive/v$pkgver.tar.gz")
sha256sums=('f5bc07d7322e6292fe0afce03462b5c394d111386236f926fdc44d2aff3b854b')
build() {
mkdir -p build && cd build
cmake "$srcdir/meshoptimizer-$pkgver" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DMESHOPT_BUILD_SHARED_LIBS=ON \
-DMESHOPT_BUILD_GLTFPACK=ON \
-G Ninja
ninja
}
package() {
cd build
DESTDIR="$pkgdir" ninja install/strip
}

View file

@ -1,3 +0,0 @@
# aur.git
This is a experimental mirror of the aur.git repository backing [the AUR](https://aur.archlinux.org).