[arch-commits] Commit in wesnoth/repos (4 files)

Felix Yan felixonmars at archlinux.org
Fri Jan 11 07:58:46 UTC 2019


    Date: Friday, January 11, 2019 @ 07:58:44
  Author: felixonmars
Revision: 422301

archrelease: copy trunk to community-staging-x86_64

Added:
  wesnoth/repos/community-staging-x86_64/
  wesnoth/repos/community-staging-x86_64/PKGBUILD
    (from rev 422299, wesnoth/trunk/PKGBUILD)
  wesnoth/repos/community-staging-x86_64/wesnothd.service
    (from rev 422299, wesnoth/trunk/wesnothd.service)
  wesnoth/repos/community-staging-x86_64/wesnothd.tmpfiles.conf
    (from rev 422300, wesnoth/trunk/wesnothd.tmpfiles.conf)

------------------------+
 PKGBUILD               |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 wesnothd.service       |    9 +++++++++
 wesnothd.tmpfiles.conf |    1 +
 3 files changed, 56 insertions(+)

Copied: wesnoth/repos/community-staging-x86_64/PKGBUILD (from rev 422299, wesnoth/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-01-11 07:58:44 UTC (rev 422301)
@@ -0,0 +1,46 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: Jacobo Arvelo <unix4all at ya.com>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+
+pkgname=wesnoth
+pkgver=1.14.5
+pkgrel=3
+pkgdesc="A turn-based strategy game on a fantasy world"
+arch=('x86_64')
+license=('GPL')
+url="http://www.wesnoth.org/"
+depends=('sdl2_ttf' 'sdl2_net' 'sdl2_mixer' 'sdl2_image' 'fribidi' 'boost-libs' 'pango' 'lua52' 'dbus' 'python2')
+makedepends=('boost' 'cmake' 'git')
+replaces=('wesnoth-data')
+options=(!emptydirs)
+source=("git://github.com/wesnoth/wesnoth.git#tag=${pkgver}"
+        wesnothd.tmpfiles.conf
+        wesnothd.service)
+sha512sums=('SKIP'
+            '6e776bf9d4e6f289b1dddbea03b0cc6972af9e926c8305fac823613b101d7f3bc40f30ab73708e9df355b28cc6459b138f3d8015528796ad94d3571d20dd54ed'
+            '9d648c8bd13a574364b4dede4b1084a2fe1bf50a38ad04aa1a9f72f168915fc67d29b3c048f881a32f38a785fd4256d48c864346db08326e279237b28d5ca884')
+
+build() {
+  cd "$srcdir/$pkgname"
+
+  mkdir build && cd build
+  cmake .. \
+      -DCMAKE_INSTALL_PREFIX=/usr \
+      -DENABLE_OMP=ON \
+      -DENABLE_TOOLS=ON \
+      -DMANDIR=share/man \
+      -DFIFO_DIR=/var/run/wesnothd
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname"
+
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 "$srcdir/wesnothd.tmpfiles.conf" "$pkgdir/usr/lib/tmpfiles.d/wesnothd.conf"
+  install -Dm644 "$srcdir/wesnothd.service" "$pkgdir/usr/lib/systemd/system/wesnothd.service"
+}

Copied: wesnoth/repos/community-staging-x86_64/wesnothd.service (from rev 422299, wesnoth/trunk/wesnothd.service)
===================================================================
--- community-staging-x86_64/wesnothd.service	                        (rev 0)
+++ community-staging-x86_64/wesnothd.service	2019-01-11 07:58:44 UTC (rev 422301)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Wesnoth Server Daemon
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/wesnothd
+
+[Install]
+WantedBy=multi-user.target

Copied: wesnoth/repos/community-staging-x86_64/wesnothd.tmpfiles.conf (from rev 422300, wesnoth/trunk/wesnothd.tmpfiles.conf)
===================================================================
--- community-staging-x86_64/wesnothd.tmpfiles.conf	                        (rev 0)
+++ community-staging-x86_64/wesnothd.tmpfiles.conf	2019-01-11 07:58:44 UTC (rev 422301)
@@ -0,0 +1 @@
+d /run/wesnothd 0700 root root -


More information about the arch-commits mailing list