[arch-commits] Commit in minetest/trunk (PKGBUILD)

Laurent Carlier lcarlier at archlinux.org
Sun Feb 28 17:36:34 UTC 2021


    Date: Sunday, February 28, 2021 @ 17:36:34
  Author: lcarlier
Revision: 875977

upgpkg: minetest 5.4.0-1: upstream update 5.4.0

Modified:
  minetest/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-28 17:36:31 UTC (rev 875976)
+++ PKGBUILD	2021-02-28 17:36:34 UTC (rev 875977)
@@ -2,20 +2,20 @@
 # Contributor: Konsta Kokkinen <kray at tsundere.fi>
 
 pkgname=('minetest' 'minetest-server' 'minetest-common')
-pkgver=5.3.0
-pkgrel=2
+pkgver=5.4.0
+pkgrel=1
 arch=('x86_64')
 url='https://www.minetest.net/'
-license=('GPL')
+license=('LGPL')
 makedepends=('sqlite' 'freetype2' 'leveldb' 'postgresql' 'spatialindex' '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
+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=('65dc2049f24c93fa544500f310a61e289c1b8fa47bf60877b746a2c27a7238d6'
-            '06c6c1d4b97af211dd0fa518a3e68a205f594e9816a4b2477e48d4d21d278e2d'
+sha256sums=('6e9b299e156651be9bcf973a9232cff32215de31dfae5ea770a71d1757cab014'
+            '520d2056085ec11e8806cf5a8f928537797d27a86704770bf408c113ea9881cb'
             '2d80b4ff925770bdf3d857debb2ad11227cc9b022eb01a358b18f8d5f2641a5c'
             'e4166d639b35efda2cd72269208184ab1e72c54541344cd202ff2005c90b9433'
             'd9405cf7cd0a657ef06082570783383a1f527fbc0bd122ea506d4fbe26950d4a')
@@ -37,7 +37,7 @@
     -DENABLE_REDIS=0
   make
 
-  cd build-server
+  cd ../build-server
   cmake ../${pkgname}-${pkgver} \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DBUILD_CLIENT=0 \
@@ -82,6 +82,7 @@
 
 package_minetest-common() {
   pkgdesc='Common data files for minetest and minetest-server'
+  license=('custom')
 
   cd $pkgbase-${pkgver}
   install -d "${pkgdir}"/usr/share/minetest
@@ -94,4 +95,6 @@
   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
 }



More information about the arch-commits mailing list