[arch-commits] Commit in wesnoth/repos/community-x86_64 (PKGBUILD PKGBUILD)

Sven-Hendrik Haase svenstaro at gemini.archlinux.org
Tue Nov 9 23:13:28 UTC 2021


    Date: Tuesday, November 9, 2021 @ 23:13:28
  Author: svenstaro
Revision: 1039488

archrelease: copy trunk to community-x86_64

Added:
  wesnoth/repos/community-x86_64/PKGBUILD
    (from rev 1039487, wesnoth/trunk/PKGBUILD)
Deleted:
  wesnoth/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   94 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 47 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-09 23:13:11 UTC (rev 1039487)
+++ PKGBUILD	2021-11-09 23:13:28 UTC (rev 1039488)
@@ -1,47 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.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
-# NOTE: Odd minor versions are unstable! Do not package those.
-pkgver=1.16.0
-epoch=1
-pkgrel=1
-pkgdesc="A turn-based strategy game on a fantasy world"
-arch=('x86_64')
-license=('GPL')
-url="http://www.wesnoth.org/"
-depends=('sdl2_ttf' 'sdl2_mixer' 'sdl2_image' 'fribidi' 'boost-libs' 'pango' 'dbus')
-makedepends=('boost' 'cmake' 'git' 'ninja')
-replaces=('wesnoth-data')
-options=(!emptydirs)
-source=("git://github.com/wesnoth/wesnoth.git#tag=${pkgver}")
-sha512sums=('SKIP')
-
-build() {
-  cd "$pkgname"
-
-  cmake \
-      -GNinja \
-      -Bbuild \
-      -DCMAKE_INSTALL_PREFIX=/usr \
-      -DENABLE_TOOLS=ON \
-      -DFIFO_DIR=/run/wesnothd \
-      -DENABLE_DISPLAY_REVISION=OFF
-  ninja -C build
-}
-
-package() {
-  cd "$pkgname"
-
-  DESTDIR="$pkgdir" ninja -C build install
-
-  # See http://forums.wesnoth.org/viewtopic.php?t=51038
-  echo "Linux repository" > "$pkgdir"/usr/share/wesnoth/data/dist
-
-  mkdir -p "$pkgdir"/usr/lib/{tmpfiles.d,systemd/system}
-  sed "s|@FIFO_DIR@|/run/wesnothd|" packaging/systemd/wesnothd.tmpfiles.conf.in > "$pkgdir"/usr/lib/tmpfiles.d/wesnothd.conf
-  sed -e "s|@FIFO_DIR@|/run/wesnothd|" -e "s|@BINARY_SUFFIX@||" -e "s|@CMAKE_INSTALL_FULL_BINDIR@|/usr/bin|" packaging/systemd/wesnothd.service.in > "$pkgdir"/usr/lib/systemd/system/wesnothd.service
-}

Copied: wesnoth/repos/community-x86_64/PKGBUILD (from rev 1039487, wesnoth/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-09 23:13:28 UTC (rev 1039488)
@@ -0,0 +1,47 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at archlinux.org>
+# 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
+# NOTE: Odd minor versions are unstable! Do not package those.
+pkgver=1.16.1
+epoch=1
+pkgrel=1
+pkgdesc="A turn-based strategy game on a fantasy world"
+arch=('x86_64')
+license=('GPL')
+url="http://www.wesnoth.org/"
+depends=('sdl2_ttf' 'sdl2_mixer' 'sdl2_image' 'fribidi' 'boost-libs' 'pango' 'dbus')
+makedepends=('boost' 'cmake' 'git' 'ninja')
+replaces=('wesnoth-data')
+options=(!emptydirs)
+source=("git://github.com/wesnoth/wesnoth.git#tag=${pkgver}")
+sha512sums=('SKIP')
+
+build() {
+  cd "$pkgname"
+
+  cmake \
+      -GNinja \
+      -Bbuild \
+      -DCMAKE_INSTALL_PREFIX=/usr \
+      -DENABLE_TOOLS=ON \
+      -DFIFO_DIR=/run/wesnothd \
+      -DENABLE_DISPLAY_REVISION=OFF
+  ninja -C build
+}
+
+package() {
+  cd "$pkgname"
+
+  DESTDIR="$pkgdir" ninja -C build install
+
+  # See http://forums.wesnoth.org/viewtopic.php?t=51038
+  echo "Linux repository" > "$pkgdir"/usr/share/wesnoth/data/dist
+
+  mkdir -p "$pkgdir"/usr/lib/{tmpfiles.d,systemd/system}
+  sed "s|@FIFO_DIR@|/run/wesnothd|" packaging/systemd/wesnothd.tmpfiles.conf.in > "$pkgdir"/usr/lib/tmpfiles.d/wesnothd.conf
+  sed -e "s|@FIFO_DIR@|/run/wesnothd|" -e "s|@BINARY_SUFFIX@||" -e "s|@CMAKE_INSTALL_FULL_BINDIR@|/usr/bin|" packaging/systemd/wesnothd.service.in > "$pkgdir"/usr/lib/systemd/system/wesnothd.service
+}



More information about the arch-commits mailing list