[arch-commits] Commit in minetest/repos/community-x86_64 (8 files)
Laurent Carlier
lcarlier at gemini.archlinux.org
Mon Jan 31 11:04:29 UTC 2022
Date: Monday, January 31, 2022 @ 11:04:29
Author: lcarlier
Revision: 1121218
archrelease: copy trunk to community-x86_64
Added:
minetest/repos/community-x86_64/PKGBUILD
(from rev 1121217, minetest/trunk/PKGBUILD)
minetest/repos/community-x86_64/minetest.service
(from rev 1121217, minetest/trunk/minetest.service)
minetest/repos/community-x86_64/sysusers.d
(from rev 1121217, minetest/trunk/sysusers.d)
minetest/repos/community-x86_64/tmpfiles.d
(from rev 1121217, minetest/trunk/tmpfiles.d)
Deleted:
minetest/repos/community-x86_64/PKGBUILD
minetest/repos/community-x86_64/minetest.service
minetest/repos/community-x86_64/sysusers.d
minetest/repos/community-x86_64/tmpfiles.d
------------------+
PKGBUILD | 206 +++++++++++++++++++++++++++--------------------------
minetest.service | 20 ++---
sysusers.d | 4 -
tmpfiles.d | 2
4 files changed, 119 insertions(+), 113 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-31 11:04:23 UTC (rev 1121217)
+++ PKGBUILD 2022-01-31 11:04:29 UTC (rev 1121218)
@@ -1,100 +0,0 @@
-# Maintainer: Laurent Carlier <lordheavym at gmail.com>
-# Contributor: Konsta Kokkinen <kray at tsundere.fi>
-
-pkgname=('minetest' 'minetest-server' 'minetest-common')
-pkgver=5.4.1
-pkgrel=1
-arch=('x86_64')
-url='https://www.minetest.net/'
-license=('LGPL')
-makedepends=('sqlite' 'freetype2' 'leveldb' 'postgresql' 'spatialindex' 'openal' 'libvorbis' 'curl'
- 'irrlicht' 'hicolor-icon-theme' 'cmake' 'ninja' '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=('de9e4410583c845c104b4be25f9d0b8743d8573c120149b8910ae2519f9ab14e'
- 'b4bfa0755b88230cf4bdb6af6a0951dd1248f6cdf87fecc340e43ac12c80b0b2'
- '2d80b4ff925770bdf3d857debb2ad11227cc9b022eb01a358b18f8d5f2641a5c'
- 'e4166d639b35efda2cd72269208184ab1e72c54541344cd202ff2005c90b9433'
- 'd9405cf7cd0a657ef06082570783383a1f527fbc0bd122ea506d4fbe26950d4a')
-
-prepare() {
- install -d build-{client,server}
-}
-
-build() {
- cd build-client
- cmake -G Ninja ../${pkgname}-${pkgver} \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DBUILD_CLIENT=1 \
- -DENABLE_GETTEXT=1 \
- -DENABLE_FREETYPE=1 \
- -DENABLE_LEVELDB=0 \
- -DENABLE_POSTGRESQL=1 \
- -DENABLE_SPATIAL=1 \
- -DENABLE_REDIS=0
- ninja
-
- cd ../build-server
- cmake -G Ninja ../${pkgname}-${pkgver} \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DBUILD_CLIENT=0 \
- -DBUILD_SERVER=1 \
- -DENABLE_LEVELDB=1 \
- -DENABLE_POSTGRESQL=1 \
- -DENABLE_SPATIAL=1 \
- -DENABLE_REDIS=1
- ninja
-}
-
-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' 'postgresql-libs' 'spatialindex')
-
- cd build-client
- DESTDIR="${pkgdir}" ninja install
-
- 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'
- 'postgresql-libs' 'spatialindex')
-
- cd build-server
- DESTDIR="${pkgdir}" ninja 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'
- license=('custom')
-
- cd $pkgbase-${pkgver}
- install -d "${pkgdir}"/usr/share/minetest
-
- cp -r games builtin client fonts textures "${pkgdir}"/usr/share/minetest/
- cp -r "${srcdir}"/build-client/locale "${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
-
- install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.txt
-}
Copied: minetest/repos/community-x86_64/PKGBUILD (from rev 1121217, minetest/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-01-31 11:04:29 UTC (rev 1121218)
@@ -0,0 +1,106 @@
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+# Contributor: Konsta Kokkinen <kray at tsundere.fi>
+
+pkgname=('minetest' 'minetest-server' 'minetest-common')
+pkgver=5.5.0
+pkgrel=1
+arch=('x86_64')
+url='https://www.minetest.net/'
+license=('LGPL')
+makedepends=('sqlite' 'freetype2' 'leveldb' 'postgresql' 'spatialindex' 'openal' 'libvorbis' 'curl'
+ 'hicolor-icon-theme' 'cmake' 'ninja' 'hiredis' 'luajit')
+makedepends+=('libjpeg' 'libgl' 'git') # irrlichtmt
+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=('8b9bef6054c8895cc3329ae6d05cb355eef9c7830600d82dc9eaa4664f87c8f9'
+ '1e87252e26d6b1d3efe7720e3e097d489339dea4dd25980a828d5da212b01aaa'
+ '2d80b4ff925770bdf3d857debb2ad11227cc9b022eb01a358b18f8d5f2641a5c'
+ 'e4166d639b35efda2cd72269208184ab1e72c54541344cd202ff2005c90b9433'
+ 'd9405cf7cd0a657ef06082570783383a1f527fbc0bd122ea506d4fbe26950d4a')
+
+prepare() {
+ install -d build-{client,server}
+
+ git clone https://github.com/minetest/irrlicht.git ${pkgname}-${pkgver}/lib/irrlichtmt
+ cd ${pkgname}-${pkgver}/lib/irrlichtmt
+ git checkout tags/1.9.0mt4
+}
+
+build() {
+ cd build-client
+ cmake -G Ninja ../${pkgname}-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_CLIENT=1 \
+ -DENABLE_GETTEXT=1 \
+ -DENABLE_FREETYPE=1 \
+ -DENABLE_LEVELDB=0 \
+ -DENABLE_POSTGRESQL=1 \
+ -DENABLE_SPATIAL=1 \
+ -DENABLE_REDIS=0
+ ninja
+
+ cd ../build-server
+ cmake -G Ninja ../${pkgname}-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_CLIENT=0 \
+ -DBUILD_SERVER=1 \
+ -DENABLE_LEVELDB=1 \
+ -DENABLE_POSTGRESQL=1 \
+ -DENABLE_SPATIAL=1 \
+ -DENABLE_REDIS=1
+ ninja
+}
+
+package_minetest() {
+ pkgdesc='Multiplayer infinite-world block sandbox game'
+ depends=('minetest-common' 'curl' 'libvorbis' 'sqlite'
+ 'openal' 'hicolor-icon-theme' 'desktop-file-utils' 'xdg-utils'
+ 'freetype2' 'luajit' 'postgresql-libs' 'spatialindex' 'jsoncpp'
+ 'libgl' 'libjpeg') # irrlichtmt
+
+ cd build-client
+ DESTDIR="${pkgdir}" ninja install
+
+ 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'
+ 'postgresql-libs' 'spatialindex' 'jsoncpp')
+
+ cd build-server
+ DESTDIR="${pkgdir}" ninja 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'
+ license=('custom')
+
+ cd $pkgbase-${pkgver}
+ install -d "${pkgdir}"/usr/share/minetest
+
+ cp -r games builtin client fonts textures "${pkgdir}"/usr/share/minetest/
+ cp -r "${srcdir}"/build-client/locale "${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
+
+ install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.txt
+}
Deleted: minetest.service
===================================================================
--- minetest.service 2022-01-31 11:04:23 UTC (rev 1121217)
+++ minetest.service 2022-01-31 11:04:29 UTC (rev 1121218)
@@ -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 1121217, minetest/trunk/minetest.service)
===================================================================
--- minetest.service (rev 0)
+++ minetest.service 2022-01-31 11:04:29 UTC (rev 1121218)
@@ -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 2022-01-31 11:04:23 UTC (rev 1121217)
+++ sysusers.d 2022-01-31 11:04:29 UTC (rev 1121218)
@@ -1,2 +0,0 @@
-u minetest - "minetest" /var/lib/minetest
-
Copied: minetest/repos/community-x86_64/sysusers.d (from rev 1121217, minetest/trunk/sysusers.d)
===================================================================
--- sysusers.d (rev 0)
+++ sysusers.d 2022-01-31 11:04:29 UTC (rev 1121218)
@@ -0,0 +1,2 @@
+u minetest - "minetest" /var/lib/minetest
+
Deleted: tmpfiles.d
===================================================================
--- tmpfiles.d 2022-01-31 11:04:23 UTC (rev 1121217)
+++ tmpfiles.d 2022-01-31 11:04:29 UTC (rev 1121218)
@@ -1 +0,0 @@
-d /var/lib/minetest - minetest minetest - -
Copied: minetest/repos/community-x86_64/tmpfiles.d (from rev 1121217, minetest/trunk/tmpfiles.d)
===================================================================
--- tmpfiles.d (rev 0)
+++ tmpfiles.d 2022-01-31 11:04:29 UTC (rev 1121218)
@@ -0,0 +1 @@
+d /var/lib/minetest - minetest minetest - -
More information about the arch-commits
mailing list