[arch-commits] Commit in warsow/repos (10 files)

Evangelos Foutras foutrelis at archlinux.org
Sun Dec 6 21:49:10 UTC 2015


    Date: Sunday, December 6, 2015 @ 22:49:09
  Author: foutrelis
Revision: 149260

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  warsow/repos/community-staging-i686/
  warsow/repos/community-staging-i686/PKGBUILD
    (from rev 149259, warsow/trunk/PKGBUILD)
  warsow/repos/community-staging-i686/warsow.launcher
    (from rev 149259, warsow/trunk/warsow.launcher)
  warsow/repos/community-staging-i686/wsw-server.launcher
    (from rev 149259, warsow/trunk/wsw-server.launcher)
  warsow/repos/community-staging-i686/wswtv-server.launcher
    (from rev 149259, warsow/trunk/wswtv-server.launcher)
  warsow/repos/community-staging-x86_64/
  warsow/repos/community-staging-x86_64/PKGBUILD
    (from rev 149259, warsow/trunk/PKGBUILD)
  warsow/repos/community-staging-x86_64/warsow.launcher
    (from rev 149259, warsow/trunk/warsow.launcher)
  warsow/repos/community-staging-x86_64/wsw-server.launcher
    (from rev 149259, warsow/trunk/wsw-server.launcher)
  warsow/repos/community-staging-x86_64/wswtv-server.launcher
    (from rev 149259, warsow/trunk/wswtv-server.launcher)

------------------------------------------------+
 community-staging-i686/PKGBUILD                |   66 +++++++++++++++++++++++
 community-staging-i686/warsow.launcher         |    7 ++
 community-staging-i686/wsw-server.launcher     |    7 ++
 community-staging-i686/wswtv-server.launcher   |    7 ++
 community-staging-x86_64/PKGBUILD              |   66 +++++++++++++++++++++++
 community-staging-x86_64/warsow.launcher       |    7 ++
 community-staging-x86_64/wsw-server.launcher   |    7 ++
 community-staging-x86_64/wswtv-server.launcher |    7 ++
 8 files changed, 174 insertions(+)

Copied: warsow/repos/community-staging-i686/PKGBUILD (from rev 149259, warsow/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-12-06 21:49:09 UTC (rev 149260)
@@ -0,0 +1,66 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Slash <demodevil5[at]yahoo[dot]com>
+# Contributor: Babets
+# Contributor: Vain
+# Contributor: Aleksej Komarov <stylemistake at gmail.com>
+
+pkgname='warsow'
+pkgver='2.0'
+pkgrel=1
+pkgdesc='Free online multiplayer competitive FPS based on the Qfusion engine'
+url='https://www.warsow.gg/'
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('warsow-data' 'sdl2' 'libjpeg' 'libpng' 'curl' 'libvorbis' 'freetype2'
+         'libxinerama' 'libxxf86vm' 'libxrandr' 'libtheora' 'libxi')
+makedepends=('mesa' 'openal' 'imagemagick' 'gendesk' 'cmake')
+optdepends=('openal: for openal audio support')
+provides=('warsow')
+conflicts=('warsow')
+source=('warsow.launcher'
+        'wsw-server.launcher'
+        'wswtv-server.launcher'
+        'http://mirror.null.one/warsow_20_sdk.tar.gz')
+md5sums=('003f8a0974f0cd5c2b9e78d49cab24c9'
+         '45a3f846fd6ea3b7dc857e60501d0e12'
+         '13d520525638c544565d8f799ffdca48'
+         'd0efb5d3754ef6838c1e8a7aa09c6e60')
+
+prepare() {
+  gendesk -n -f --pkgname 'warsow' --pkgdesc "${pkgdesc}" --name 'Warsow' --categories 'Game;ActionGame'
+}
+
+build() {
+  cd "${srcdir}/source/source"
+  cmake .
+  make ${MAKE_FLAGS}
+}
+
+package() {
+  local builddir="${srcdir}/source/source/build"
+
+  # Create Destination Directories
+  install -d "${pkgdir}/opt/warsow/"
+
+  # Move Compiled Data to Destination Directory except basewsw.
+  # NOTE: We don't need cgame library because it's a pure lib provided by
+  # modules_16.pk3 from warsow-data package.
+  cp -r "${builddir}/libs" "${pkgdir}/opt/warsow"
+  cp "${builddir}/warsow.${CARCH}" "${pkgdir}/opt/warsow/warsow"
+  cp "${builddir}/wsw_server.${CARCH}" "${pkgdir}/opt/warsow/wsw_server"
+  cp "${builddir}/wswtv_server.${CARCH}" "${pkgdir}/opt/warsow/wswtv_server"
+  find "${pkgdir}/opt/warsow" -type d | xargs chmod 755
+  find "${pkgdir}/opt/warsow" -type f | xargs chmod 755 # only executables here
+
+  # Install launchers to /usr/bin
+  install -D -m 0755 "${srcdir}/warsow.launcher" "${pkgdir}/usr/bin/warsow"
+  install -D -m 0755 "${srcdir}/wsw-server.launcher" "${pkgdir}/usr/bin/wsw-server"
+  install -D -m 0755 "${srcdir}/wswtv-server.launcher" "${pkgdir}/usr/bin/wswtv-server"
+
+  # Install the menu entry
+  install -D -m 0644 "${srcdir}/warsow.desktop" "${pkgdir}/usr/share/applications/warsow.desktop"
+
+  # Install the launcher icon
+  convert "${srcdir}/source/icons/warsow256x256.xpm" "${srcdir}/warsow.png"
+  install -D -m 0644 "${srcdir}/warsow.png" "${pkgdir}/usr/share/pixmaps/warsow.png"
+}

Copied: warsow/repos/community-staging-i686/warsow.launcher (from rev 149259, warsow/trunk/warsow.launcher)
===================================================================
--- community-staging-i686/warsow.launcher	                        (rev 0)
+++ community-staging-i686/warsow.launcher	2015-12-06 21:49:09 UTC (rev 149260)
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+basepath="/opt/warsow"
+
+${basepath}/warsow \
+  +set fs_basepath ${basepath} \
+  +set fs_usehomedir 1 "${@}"

Copied: warsow/repos/community-staging-i686/wsw-server.launcher (from rev 149259, warsow/trunk/wsw-server.launcher)
===================================================================
--- community-staging-i686/wsw-server.launcher	                        (rev 0)
+++ community-staging-i686/wsw-server.launcher	2015-12-06 21:49:09 UTC (rev 149260)
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+basepath="/opt/warsow"
+
+${basepath}/wsw_server \
+  +set fs_basepath ${basepath} \
+  +set fs_usehomedir 1 "${@}"

Copied: warsow/repos/community-staging-i686/wswtv-server.launcher (from rev 149259, warsow/trunk/wswtv-server.launcher)
===================================================================
--- community-staging-i686/wswtv-server.launcher	                        (rev 0)
+++ community-staging-i686/wswtv-server.launcher	2015-12-06 21:49:09 UTC (rev 149260)
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+basepath="/opt/warsow"
+
+${basepath}/wswtv_server \
+  +set fs_basepath ${basepath} \
+  +set fs_usehomedir 1 "${@}"

Copied: warsow/repos/community-staging-x86_64/PKGBUILD (from rev 149259, warsow/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-12-06 21:49:09 UTC (rev 149260)
@@ -0,0 +1,66 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Slash <demodevil5[at]yahoo[dot]com>
+# Contributor: Babets
+# Contributor: Vain
+# Contributor: Aleksej Komarov <stylemistake at gmail.com>
+
+pkgname='warsow'
+pkgver='2.0'
+pkgrel=1
+pkgdesc='Free online multiplayer competitive FPS based on the Qfusion engine'
+url='https://www.warsow.gg/'
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('warsow-data' 'sdl2' 'libjpeg' 'libpng' 'curl' 'libvorbis' 'freetype2'
+         'libxinerama' 'libxxf86vm' 'libxrandr' 'libtheora' 'libxi')
+makedepends=('mesa' 'openal' 'imagemagick' 'gendesk' 'cmake')
+optdepends=('openal: for openal audio support')
+provides=('warsow')
+conflicts=('warsow')
+source=('warsow.launcher'
+        'wsw-server.launcher'
+        'wswtv-server.launcher'
+        'http://mirror.null.one/warsow_20_sdk.tar.gz')
+md5sums=('003f8a0974f0cd5c2b9e78d49cab24c9'
+         '45a3f846fd6ea3b7dc857e60501d0e12'
+         '13d520525638c544565d8f799ffdca48'
+         'd0efb5d3754ef6838c1e8a7aa09c6e60')
+
+prepare() {
+  gendesk -n -f --pkgname 'warsow' --pkgdesc "${pkgdesc}" --name 'Warsow' --categories 'Game;ActionGame'
+}
+
+build() {
+  cd "${srcdir}/source/source"
+  cmake .
+  make ${MAKE_FLAGS}
+}
+
+package() {
+  local builddir="${srcdir}/source/source/build"
+
+  # Create Destination Directories
+  install -d "${pkgdir}/opt/warsow/"
+
+  # Move Compiled Data to Destination Directory except basewsw.
+  # NOTE: We don't need cgame library because it's a pure lib provided by
+  # modules_16.pk3 from warsow-data package.
+  cp -r "${builddir}/libs" "${pkgdir}/opt/warsow"
+  cp "${builddir}/warsow.${CARCH}" "${pkgdir}/opt/warsow/warsow"
+  cp "${builddir}/wsw_server.${CARCH}" "${pkgdir}/opt/warsow/wsw_server"
+  cp "${builddir}/wswtv_server.${CARCH}" "${pkgdir}/opt/warsow/wswtv_server"
+  find "${pkgdir}/opt/warsow" -type d | xargs chmod 755
+  find "${pkgdir}/opt/warsow" -type f | xargs chmod 755 # only executables here
+
+  # Install launchers to /usr/bin
+  install -D -m 0755 "${srcdir}/warsow.launcher" "${pkgdir}/usr/bin/warsow"
+  install -D -m 0755 "${srcdir}/wsw-server.launcher" "${pkgdir}/usr/bin/wsw-server"
+  install -D -m 0755 "${srcdir}/wswtv-server.launcher" "${pkgdir}/usr/bin/wswtv-server"
+
+  # Install the menu entry
+  install -D -m 0644 "${srcdir}/warsow.desktop" "${pkgdir}/usr/share/applications/warsow.desktop"
+
+  # Install the launcher icon
+  convert "${srcdir}/source/icons/warsow256x256.xpm" "${srcdir}/warsow.png"
+  install -D -m 0644 "${srcdir}/warsow.png" "${pkgdir}/usr/share/pixmaps/warsow.png"
+}

Copied: warsow/repos/community-staging-x86_64/warsow.launcher (from rev 149259, warsow/trunk/warsow.launcher)
===================================================================
--- community-staging-x86_64/warsow.launcher	                        (rev 0)
+++ community-staging-x86_64/warsow.launcher	2015-12-06 21:49:09 UTC (rev 149260)
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+basepath="/opt/warsow"
+
+${basepath}/warsow \
+  +set fs_basepath ${basepath} \
+  +set fs_usehomedir 1 "${@}"

Copied: warsow/repos/community-staging-x86_64/wsw-server.launcher (from rev 149259, warsow/trunk/wsw-server.launcher)
===================================================================
--- community-staging-x86_64/wsw-server.launcher	                        (rev 0)
+++ community-staging-x86_64/wsw-server.launcher	2015-12-06 21:49:09 UTC (rev 149260)
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+basepath="/opt/warsow"
+
+${basepath}/wsw_server \
+  +set fs_basepath ${basepath} \
+  +set fs_usehomedir 1 "${@}"

Copied: warsow/repos/community-staging-x86_64/wswtv-server.launcher (from rev 149259, warsow/trunk/wswtv-server.launcher)
===================================================================
--- community-staging-x86_64/wswtv-server.launcher	                        (rev 0)
+++ community-staging-x86_64/wswtv-server.launcher	2015-12-06 21:49:09 UTC (rev 149260)
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+basepath="/opt/warsow"
+
+${basepath}/wswtv_server \
+  +set fs_basepath ${basepath} \
+  +set fs_usehomedir 1 "${@}"



More information about the arch-commits mailing list