[arch-commits] Commit in warzone2100/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sat Apr 25 19:09:38 UTC 2020


    Date: Saturday, April 25, 2020 @ 19:09:37
  Author: foutrelis
Revision: 621048

archrelease: copy trunk to community-staging-x86_64

Added:
  warzone2100/repos/community-staging-x86_64/
  warzone2100/repos/community-staging-x86_64/PKGBUILD
    (from rev 621047, warzone2100/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: warzone2100/repos/community-staging-x86_64/PKGBUILD (from rev 621047, warzone2100/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-04-25 19:09:37 UTC (rev 621048)
@@ -0,0 +1,34 @@
+# Maintainer: Vesa Kaihlavirta <vegai at iki.fi>
+# Contributor: Angelo Theodorou <encelo at users.sourceforge.net>
+
+pkgname=warzone2100
+pkgver=3.3.0
+pkgrel=2
+pkgdesc="3D realtime strategy game on a future Earth"
+url="https://wz2100.net/"
+arch=('x86_64')
+license=('GPL')
+depends=('sdl2' 'glew' 'fribidi' 'openal' 'libvorbis' 'libtheora' 'physfs' 'ttf-dejavu' 'qt5-script' 'xorg-xrandr')
+makedepends=('gawk' 'flex' 'zip' 'unzip' 'asciidoc' 'mesa' 'cmake')
+source=(${pkgname}-${pkgver}_src.tar.xz::https://github.com/Warzone2100/warzone2100/releases/download/${pkgver}/${pkgname}_src.tar.xz)
+sha256sums=('cc48c8128d17a499e833996470d843855389d9fc985c71f05be08901f33116e8')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+
+  cmake ../${pkgname} \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DWZ_DISTRIBUTOR="ArchLinux"
+  make
+}
+
+package() {
+  cd build
+
+  make DESTDIR=${pkgdir} install
+}



More information about the arch-commits mailing list