[arch-commits] Commit in minetest/trunk (PKGBUILD sysusers.d tmpfiles.d)

Laurent Carlier lcarlier at archlinux.org
Wed Dec 27 15:24:21 UTC 2017


    Date: Wednesday, December 27, 2017 @ 15:24:20
  Author: lcarlier
Revision: 276251

upgpkg: minetest 0.4.16-3

use systemd sysusers.d/tmpfiles.d

Added:
  minetest/trunk/sysusers.d
  minetest/trunk/tmpfiles.d
Modified:
  minetest/trunk/PKGBUILD

------------+
 PKGBUILD   |   18 ++++++++++++------
 sysusers.d |    2 ++
 tmpfiles.d |    1 +
 3 files changed, 15 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-27 15:19:08 UTC (rev 276250)
+++ PKGBUILD	2017-12-27 15:24:20 UTC (rev 276251)
@@ -4,7 +4,7 @@
 
 pkgname=('minetest' 'minetest-server' 'minetest-common')
 pkgver=0.4.16
-pkgrel=2
+pkgrel=3
 arch=('x86_64')
 url='http://minetest.net/'
 license=('GPL')
@@ -12,10 +12,14 @@
              '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)
-md5sums=('70e40bc170e8f8a5aa7c35102a314b76'
-         'e97efb4618f345ae3039af7ba844fb9c'
-         'ec193b09eb85f2518aaa17506ad06c57')
+        minetest.service
+        sysusers.d
+        tmpfiles.d)
+sha256sums=('0ef3793de9f569746ea78af7a66fe96ef65400019e5e64a04a5c3fa26a707655'
+            'ea914555949b4faccda5e13143cb021d2f9a5fa19abd1f5e4b7b65004cbd2b5a'
+            '2d80b4ff925770bdf3d857debb2ad11227cc9b022eb01a358b18f8d5f2641a5c'
+            'e4166d639b35efda2cd72269208184ab1e72c54541344cd202ff2005c90b9433'
+            'd9405cf7cd0a657ef06082570783383a1f527fbc0bd122ea506d4fbe26950d4a')
 
 prepare() {
   install -d build-{client,server}
@@ -59,7 +63,6 @@
 package_minetest-server() {
   pkgdesc='Server of infinite-world block sandbox game'
   depends=('minetest-common' 'leveldb' 'curl' 'sqlite' 'hiredis' 'luajit')
-  install=minetest-server.install
 
   cd build-server
   make DESTDIR="$pkgdir" install
@@ -69,6 +72,9 @@
 
   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() {

Added: sysusers.d
===================================================================
--- sysusers.d	                        (rev 0)
+++ sysusers.d	2017-12-27 15:24:20 UTC (rev 276251)
@@ -0,0 +1,2 @@
+u minetest - "minetest" /var/lib/minetest
+

Added: tmpfiles.d
===================================================================
--- tmpfiles.d	                        (rev 0)
+++ tmpfiles.d	2017-12-27 15:24:20 UTC (rev 276251)
@@ -0,0 +1 @@
+d /var/lib/minetest - minetest minetest - -



More information about the arch-commits mailing list