blob: 74b199602224e94fa1e4caba11caa19ab3100743 (
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
36
37
38
39
40
41
42
43
|
# Maintainer: Guillaume Meunier <guillaume.meunier@centraliens.net>
pkgname=entt
pkgbase=entt
pkgver=3.14.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=('e31f6e95a30e2977a50449ef9a607a9ff40febe6f9da2a8144a183f8606f7719')
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/
}
|