# Maintainer: Erich Eckner # Contributor: Fabio 'Lolix' Loli -> https://github.com/FabioLolix # Contributor: fzerorubigd # Contributor: Emmanuel Gil Peyrot pkgname=openage-git pkgver=0.4.1.r1090.g653814e63 pkgrel=888 pkgdesc="A free (as in freedom) clone of the Age of Empires II engine" arch=(x86_64 i486 i686 pentium4 arm armv6h armv7h aarch64) url="https://openage.sft.mx/" license=(GPL3) _pinned_dependencies=( 'gcc-libs=13.1.1' 'glibc>=2.37' 'libepoxy.so=0' 'libfontconfig.so=1' 'libfreetype.so=6' 'libharfbuzz.so=0' 'libncursesw.so=6' 'libnyan.so=1' 'libogg.so=0' 'libOpenGL.so=0' 'libopus.so=0' 'libpng=1.6.39' 'libprofiler.so=0' 'libvulkan.so=1' 'opusfile=0.12' 'qt6-base=6.5.1' 'qt6-declarative=6.5.1' 'sdl2=2.26.5' ) depends=(ftgl sdl2_image eigen xdg-utils python-pillow python-numpy python-toml python-pygments python-jinja python-lz4 "${_pinned_dependencies[@]}") makedepends=(git cmake cython doxygen vulkan-headers python-graphviz) optdepends=('ttf-dejavu: for text display, but you can use any font' vulkan-icd-loader) provides=(openage) conflicts=(openage) source=("git+https://github.com/SFTtech/openage") sha512sums=('SKIP') pkgver() { cd "${srcdir}/${pkgname%-git}" git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } prepare() { cd "${srcdir}/${pkgname%-git}" install -d build } build() { cd "${srcdir}/${pkgname%-git}/build" cmake .. \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=/usr/lib \ -DCMAKE_BUILD_TYPE=Release make } package() { cd "${srcdir}/${pkgname%-git}/build" make DESTDIR="${pkgdir}/" install }