blob: ef3029ce19b598eac8d5025673081d862cd755c2 (
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
|
# Maintainer: katt <magunasu.b97@gmail.com>
pkgname=falltergeist-git
pkgver=0.4.0.r48.g32cbee70
pkgrel=1
pkgdesc='Opensource Fallout game engine written in C++ and SDL (git)'
arch=(x86_64)
url=https://falltergeist.org
license=(GPL-3.0-or-later)
depends=(sdl2 sdl2_image sdl2_mixer zlib glew glm)
makedepends=(cmake git)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=(git+https://github.com/falltergeist/falltergeist.git)
md5sums=('SKIP')
pkgver() {
git -C "${pkgname%-git}" describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cmake -B build -S "${pkgname%-git}" \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-Wno-dev
cmake --build build
}
package() {
DESTDIR="${pkgdir}" cmake --install build
}
|