[arch-commits] Commit in megaglest/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat Apr 25 17:32:39 UTC 2020
Date: Saturday, April 25, 2020 @ 17:32:38
Author: foutrelis
Revision: 621016
archrelease: copy trunk to community-staging-x86_64
Added:
megaglest/repos/community-staging-x86_64/
megaglest/repos/community-staging-x86_64/PKGBUILD
(from rev 621015, megaglest/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: megaglest/repos/community-staging-x86_64/PKGBUILD (from rev 621015, megaglest/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-04-25 17:32:38 UTC (rev 621016)
@@ -0,0 +1,40 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Larry Hajali <larryhaja [at] gmail [dot] com>
+
+pkgname=megaglest
+pkgver=3.13.0
+pkgrel=7
+pkgdesc="Fork of Glest, a 3D real-time strategy game in a fantastic world"
+arch=('x86_64')
+url="https://megaglest.org"
+license=('GPL3')
+depends=('curl' 'megaglest-data' 'xerces-c' 'sdl2' 'libvorbis' 'openal' 'libgl' 'lua51' 'icu' 'ftgl' 'glew'
+ 'libircclient' 'miniupnpc' 'wxgtk3' 'glu' 'libx11' 'libminiupnpc.so')
+makedepends=('ftjam' 'cmake' 'mesa')
+source=(https://github.com/MegaGlest/megaglest-source/releases/download/${pkgver}/megaglest-source-${pkgver}.tar.xz{,.asc})
+sha256sums=('09fef67bc6878b1afbb0b403fec9fcf7dc270d500fdc62ed98e5f210e398ccb9'
+ 'SKIP')
+validpgpkeys=('0DA321A44B30EF477E9A6DB8DE45EB9E71EEB59B')
+
+build() {
+ cd megaglest-${pkgver}
+
+ [[ -d build ]] && rm -r build
+ mkdir build && cd build
+
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_CXX_FLAGS="-lX11 ${CXXFLAGS}" \
+ -DWANT_GIT_STAMP=0 \
+ -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3
+ make VERBOSE=1
+}
+
+package() {
+ cd megaglest-${pkgver}/build
+
+ make DESTDIR="$pkgdir" install
+}
+
+# vim: sw=2:ts=2 et:
More information about the arch-commits
mailing list