[arch-commits] Commit in warzone2100/repos (extra-x86_64 extra-x86_64/PKGBUILD)
Laurent Carlier
lcarlier at archlinux.org
Tue Sep 3 07:56:45 UTC 2019
Date: Tuesday, September 3, 2019 @ 07:56:44
Author: lcarlier
Revision: 507251
archrelease: copy trunk to extra-x86_64
Added:
warzone2100/repos/extra-x86_64/
warzone2100/repos/extra-x86_64/PKGBUILD
(from rev 507250, warzone2100/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: warzone2100/repos/extra-x86_64/PKGBUILD (from rev 507250, warzone2100/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2019-09-03 07:56:44 UTC (rev 507251)
@@ -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=1
+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=(https://github.com/Warzone2100/warzone2100/releases/download/${pkgver}/warzone2100-${pkgver}_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