[arch-commits] Commit in minetest/repos/community-x86_64 (10 files)
Laurent Carlier
lcarlier at archlinux.org
Tue Jul 3 12:08:57 UTC 2018
Date: Tuesday, July 3, 2018 @ 12:08:56
Author: lcarlier
Revision: 350919
archrelease: copy trunk to community-x86_64
Added:
minetest/repos/community-x86_64/PKGBUILD
(from rev 350918, minetest/trunk/PKGBUILD)
minetest/repos/community-x86_64/minetest-server.install
(from rev 350918, minetest/trunk/minetest-server.install)
minetest/repos/community-x86_64/minetest.service
(from rev 350918, minetest/trunk/minetest.service)
minetest/repos/community-x86_64/sysusers.d
(from rev 350918, minetest/trunk/sysusers.d)
minetest/repos/community-x86_64/tmpfiles.d
(from rev 350918, minetest/trunk/tmpfiles.d)
Deleted:
minetest/repos/community-x86_64/PKGBUILD
minetest/repos/community-x86_64/minetest-server.install
minetest/repos/community-x86_64/minetest.service
minetest/repos/community-x86_64/sysusers.d
minetest/repos/community-x86_64/tmpfiles.d
-------------------------+
PKGBUILD | 187 +++++++++++++++++++++++-----------------------
minetest-server.install | 16 +--
minetest.service | 20 ++--
sysusers.d | 4
tmpfiles.d | 2
5 files changed, 115 insertions(+), 114 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-03 12:08:52 UTC (rev 350918)
+++ PKGBUILD 2018-07-03 12:08:56 UTC (rev 350919)
@@ -1,93 +0,0 @@
-# $Id$
-# Maintainer: Laurent Carlier <lordheavym at gmail.com>
-# Contributor: Konsta Kokkinen <kray at tsundere.fi>
-
-pkgname=('minetest' 'minetest-server' 'minetest-common')
-pkgver=0.4.17
-pkgrel=1
-arch=('x86_64')
-url='http://minetest.net/'
-license=('GPL')
-makedepends=('sqlite' 'freetype2' 'leveldb' 'openal' 'libvorbis' 'curl' 'irrlicht'
- 'hicolor-icon-theme' 'cmake' 'hiredis' 'luajit')
-source=($pkgname-$pkgver.tar.gz::https://github.com/minetest/minetest/archive/$pkgver.tar.gz
- $pkgname-data-$pkgver.tar.gz::https://github.com/minetest/minetest_game/archive/$pkgver.tar.gz
- minetest.service
- sysusers.d
- tmpfiles.d)
-sha256sums=('8664cd800ce0a146c6d7d5433b8acc93c145308403b3f6ae7e6b69bd4a53eb72'
- 'f0ab07cb47c1540b2016bf76a36e2eec28b0ea7827bf66fc5447e0c5e5d4495d'
- '2d80b4ff925770bdf3d857debb2ad11227cc9b022eb01a358b18f8d5f2641a5c'
- 'e4166d639b35efda2cd72269208184ab1e72c54541344cd202ff2005c90b9433'
- 'd9405cf7cd0a657ef06082570783383a1f527fbc0bd122ea506d4fbe26950d4a')
-
-prepare() {
- install -d build-{client,server}
-}
-
-build() {
- cd "$srcdir"/build-client
- cmake ../$pkgname-$pkgver \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DBUILD_CLIENT=1 \
- -DENABLE_GETTEXT=1 \
- -DENABLE_FREETYPE=1 \
- -DENABLE_LEVELDB=0 \
- -DENABLE_REDIS=0
- make
-
- cd "$srcdir"/build-server
- cmake ../$pkgname-$pkgver \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DBUILD_CLIENT=0 \
- -DBUILD_SERVER=1 \
- -DENABLE_LEVELDB=1 \
- -DENABLE_REDIS=1
- make
-}
-
-package_minetest() {
- pkgdesc='Multiplayer infinite-world block sandbox game'
- depends=('minetest-common' 'irrlicht' 'curl' 'libvorbis' 'sqlite'
- 'openal' 'hicolor-icon-theme' 'desktop-file-utils' 'xdg-utils'
- 'freetype2' 'luajit')
-
- cd build-client
- make DESTDIR="$pkgdir" install
- cp -r locale "$pkgdir"/usr/share/
-
- rm -rf "$pkgdir"/usr/share/{minetest,doc}
- rm "$pkgdir"/usr/share/man/man6/minetestserver.6
-}
-
-package_minetest-server() {
- pkgdesc='Server of infinite-world block sandbox game'
- depends=('minetest-common' 'leveldb' 'curl' 'sqlite' 'hiredis' 'luajit')
-
- cd build-server
- make DESTDIR="$pkgdir" install
- install -d "$pkgdir"/etc/minetest
- install -Dm644 ../minetest.service \
- "$pkgdir"/usr/lib/systemd/system/minetest at .service
-
- rm -rf "$pkgdir"/usr/share/{minetest,metainfo,appdata,applications,icons,doc}
- rm "$pkgdir"/usr/share/man/man6/minetest.6
-
- install -Dm644 ${srcdir}/tmpfiles.d ${pkgdir}/usr/lib/tmpfiles.d/minetest-server.conf
- install -Dm644 ${srcdir}/sysusers.d ${pkgdir}/usr/lib/sysusers.d/minetest-server.conf
-}
-
-package_minetest-common() {
- pkgdesc='Common data files for minetest and minetest-server'
-
- cd $pkgbase-$pkgver
- install -d "$pkgdir"/usr/share/minetest
-
- cp -r games builtin client fonts textures "$pkgdir"/usr/share/minetest/
- cp -r "$srcdir"/minetest_game-$pkgver "$pkgdir"/usr/share/minetest/games/minetest
- rm "$pkgdir"/usr/share/minetest/games/minetest/.gitignore
-
- for file in doc/{fst_api,lua_api,menu_lua_api,protocol,world_format}.txt; do
- install -Dm644 $file "$pkgdir"/usr/share/minetest/doc/$(basename $file)
- done
-}
Copied: minetest/repos/community-x86_64/PKGBUILD (from rev 350918, minetest/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-07-03 12:08:56 UTC (rev 350919)
@@ -0,0 +1,94 @@
+# $Id$
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+# Contributor: Konsta Kokkinen <kray at tsundere.fi>
+
+pkgname=('minetest' 'minetest-server' 'minetest-common')
+pkgver=0.4.17.1
+pkgrel=1
+_gamever=0.4.17
+arch=('x86_64')
+url='http://minetest.net/'
+license=('GPL')
+makedepends=('sqlite' 'freetype2' 'leveldb' 'openal' 'libvorbis' 'curl' 'irrlicht'
+ 'hicolor-icon-theme' 'cmake' 'hiredis' 'luajit')
+source=($pkgname-$pkgver.tar.gz::https://github.com/minetest/minetest/archive/${pkgver}.tar.gz
+ $pkgname-data-$pkgver.tar.gz::https://github.com/minetest/minetest_game/archive/${_gamever}.tar.gz
+ minetest.service
+ sysusers.d
+ tmpfiles.d)
+sha256sums=('cd25d40c53f492325edabd2f6397250f40a61cb9fe4a1d4dd6eb030e0d1ceb59'
+ 'f0ab07cb47c1540b2016bf76a36e2eec28b0ea7827bf66fc5447e0c5e5d4495d'
+ '2d80b4ff925770bdf3d857debb2ad11227cc9b022eb01a358b18f8d5f2641a5c'
+ 'e4166d639b35efda2cd72269208184ab1e72c54541344cd202ff2005c90b9433'
+ 'd9405cf7cd0a657ef06082570783383a1f527fbc0bd122ea506d4fbe26950d4a')
+
+prepare() {
+ install -d build-{client,server}
+}
+
+build() {
+ cd "$srcdir"/build-client
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_CLIENT=1 \
+ -DENABLE_GETTEXT=1 \
+ -DENABLE_FREETYPE=1 \
+ -DENABLE_LEVELDB=0 \
+ -DENABLE_REDIS=0
+ make
+
+ cd "$srcdir"/build-server
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_CLIENT=0 \
+ -DBUILD_SERVER=1 \
+ -DENABLE_LEVELDB=1 \
+ -DENABLE_REDIS=1
+ make
+}
+
+package_minetest() {
+ pkgdesc='Multiplayer infinite-world block sandbox game'
+ depends=('minetest-common' 'irrlicht' 'curl' 'libvorbis' 'sqlite'
+ 'openal' 'hicolor-icon-theme' 'desktop-file-utils' 'xdg-utils'
+ 'freetype2' 'luajit')
+
+ cd build-client
+ make DESTDIR="$pkgdir" install
+ cp -r locale "$pkgdir"/usr/share/
+
+ rm -rf "$pkgdir"/usr/share/{minetest,doc}
+ rm "$pkgdir"/usr/share/man/man6/minetestserver.6
+}
+
+package_minetest-server() {
+ pkgdesc='Server of infinite-world block sandbox game'
+ depends=('minetest-common' 'leveldb' 'curl' 'sqlite' 'hiredis' 'luajit')
+
+ cd build-server
+ make DESTDIR="$pkgdir" install
+ install -d "$pkgdir"/etc/minetest
+ install -Dm644 ../minetest.service \
+ "$pkgdir"/usr/lib/systemd/system/minetest at .service
+
+ rm -rf "$pkgdir"/usr/share/{minetest,metainfo,appdata,applications,icons,doc}
+ mv "$pkgdir"/usr/share/man/man6/minetest.6 "$pkgdir"/usr/share/man/man6/minetestserver.6
+
+ install -Dm644 ${srcdir}/tmpfiles.d ${pkgdir}/usr/lib/tmpfiles.d/minetest-server.conf
+ install -Dm644 ${srcdir}/sysusers.d ${pkgdir}/usr/lib/sysusers.d/minetest-server.conf
+}
+
+package_minetest-common() {
+ pkgdesc='Common data files for minetest and minetest-server'
+
+ cd $pkgbase-$pkgver
+ install -d "$pkgdir"/usr/share/minetest
+
+ cp -r games builtin client fonts textures "$pkgdir"/usr/share/minetest/
+ cp -r "$srcdir"/minetest_game-$_gamever "$pkgdir"/usr/share/minetest/games/minetest
+ rm "$pkgdir"/usr/share/minetest/games/minetest/.gitignore
+
+ for file in doc/{fst_api,lua_api,menu_lua_api,protocol,world_format}.txt; do
+ install -Dm644 $file "$pkgdir"/usr/share/minetest/doc/$(basename $file)
+ done
+}
Deleted: minetest-server.install
===================================================================
--- minetest-server.install 2018-07-03 12:08:52 UTC (rev 350918)
+++ minetest-server.install 2018-07-03 12:08:56 UTC (rev 350919)
@@ -1,8 +0,0 @@
-post_install() {
- getent group minetest &>/dev/null || groupadd --system minetest
- getent passwd minetest &>/dev/null || \
- useradd --system -g minetest -s /bin/false -d /var/lib/minetest minetest
-
- [[ ! -d var/lib/minetest ]] && install -d var/lib/minetest
- chown minetest:minetest var/lib/minetest
-}
Copied: minetest/repos/community-x86_64/minetest-server.install (from rev 350918, minetest/trunk/minetest-server.install)
===================================================================
--- minetest-server.install (rev 0)
+++ minetest-server.install 2018-07-03 12:08:56 UTC (rev 350919)
@@ -0,0 +1,8 @@
+post_install() {
+ getent group minetest &>/dev/null || groupadd --system minetest
+ getent passwd minetest &>/dev/null || \
+ useradd --system -g minetest -s /bin/false -d /var/lib/minetest minetest
+
+ [[ ! -d var/lib/minetest ]] && install -d var/lib/minetest
+ chown minetest:minetest var/lib/minetest
+}
Deleted: minetest.service
===================================================================
--- minetest.service 2018-07-03 12:08:52 UTC (rev 350918)
+++ minetest.service 2018-07-03 12:08:56 UTC (rev 350919)
@@ -1,10 +0,0 @@
-[Unit]
-Description=Minetest multiplayer server w/ %i.conf server config
-After=syslog.target network.target
-
-[Service]
-User=minetest
-ExecStart=/usr/bin/minetestserver --config /etc/minetest/%i.conf --map-dir /var/lib/minetest/%i/
-
-[Install]
-WantedBy=multi-user.target
Copied: minetest/repos/community-x86_64/minetest.service (from rev 350918, minetest/trunk/minetest.service)
===================================================================
--- minetest.service (rev 0)
+++ minetest.service 2018-07-03 12:08:56 UTC (rev 350919)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Minetest multiplayer server w/ %i.conf server config
+After=syslog.target network.target
+
+[Service]
+User=minetest
+ExecStart=/usr/bin/minetestserver --config /etc/minetest/%i.conf --map-dir /var/lib/minetest/%i/
+
+[Install]
+WantedBy=multi-user.target
Deleted: sysusers.d
===================================================================
--- sysusers.d 2018-07-03 12:08:52 UTC (rev 350918)
+++ sysusers.d 2018-07-03 12:08:56 UTC (rev 350919)
@@ -1,2 +0,0 @@
-u minetest - "minetest" /var/lib/minetest
-
Copied: minetest/repos/community-x86_64/sysusers.d (from rev 350918, minetest/trunk/sysusers.d)
===================================================================
--- sysusers.d (rev 0)
+++ sysusers.d 2018-07-03 12:08:56 UTC (rev 350919)
@@ -0,0 +1,2 @@
+u minetest - "minetest" /var/lib/minetest
+
Deleted: tmpfiles.d
===================================================================
--- tmpfiles.d 2018-07-03 12:08:52 UTC (rev 350918)
+++ tmpfiles.d 2018-07-03 12:08:56 UTC (rev 350919)
@@ -1 +0,0 @@
-d /var/lib/minetest - minetest minetest - -
Copied: minetest/repos/community-x86_64/tmpfiles.d (from rev 350918, minetest/trunk/tmpfiles.d)
===================================================================
--- tmpfiles.d (rev 0)
+++ tmpfiles.d 2018-07-03 12:08:56 UTC (rev 350919)
@@ -0,0 +1 @@
+d /var/lib/minetest - minetest minetest - -
More information about the arch-commits
mailing list