# Maintainer: Guillaume Meunier pkgname=entt pkgbase=entt pkgver=3.11.0 pkgrel=1 epoch= pkgdesc="A header-only, tiny and easy to use entity-component system (and much more) written in modern C++" arch=('any') url="https://skypjack.github.io/entt/" license=('MIT') groups=() makedepends=(cmake) checkdepends=() optdepends=() conflicts=() backup=() options=() install= changelog= source=("https://github.com/skypjack/entt/archive/v$pkgver.tar.gz") sha256sums=('7cca2bd4d4aeef6c5bdbe06b9e047e7f2519ebaff901207cc81ac71a2bbe185e') noextract=() validpgpkeys=() build() { mkdir -p build cd build cmake ../$pkgname-$pkgver -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DENTT_USE_LIBCPP=OFF -DENTT_BUILD_TESTING=OFF -DCMAKE_INSTALL_LIBDIR=lib make } package() { pushd build DESTDIR="$pkgdir"/ make install popd > /dev/null mkdir -p "$pkgdir"/usr/share/licenses/$pkgbase install $pkgname-$pkgver/LICENSE $pkgdir/usr/share/licenses/$pkgbase/ }