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

Gaëtan Bisson bisson at archlinux.org
Tue Apr 4 05:27:43 UTC 2017


    Date: Tuesday, April 4, 2017 @ 05:27:41
  Author: bisson
Revision: 292064

implement FS#53539

Added:
  mlocate/trunk/sysusers.d
Modified:
  mlocate/trunk/PKGBUILD

------------+
 PKGBUILD   |   16 ++++++++++------
 sysusers.d |    1 +
 2 files changed, 11 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-04-03 21:32:26 UTC (rev 292063)
+++ PKGBUILD	2017-04-04 05:27:41 UTC (rev 292064)
@@ -5,7 +5,7 @@
 
 pkgname=mlocate
 pkgver=0.26
-pkgrel=5
+pkgrel=6
 pkgdesc='Merging locate/updatedb implementation'
 url='https://anonscm.debian.org/cgit/collab-maint/mlocate.git'
 arch=('i686' 'x86_64')
@@ -15,9 +15,12 @@
 makedepends=('git')
 _commit=596d4ad222328e8bae7a00cc489a9f862edc82fb #tag=upstream/0.26
 source=("git+https://anonscm.debian.org/cgit/collab-maint/mlocate.git#commit=$_commit"
+	'sysusers.d'
 	'updatedb.conf'
-	updatedb.{timer,service})
+	'updatedb.timer'
+	'updatedb.service')
 sha256sums=('SKIP'
+            '1713a8fc8b81f4a390bf8597c4c0e917474379002dcc984aad2f44218d10c82a'
             'ea65bb68bb854803965ac16c770ba2567256e2066d68c272f1a1974ffc5c5ee7'
             '2e813effb651fae101d93722827553c6b9b9d42e898e808db4991eafdd330e02'
             '83c7a508bad5dccd55a158cf8b8029d680f82cf8b1d21074279def14d9ad4dee')
@@ -51,9 +54,10 @@
 	install -dm750 -g21 "${pkgdir}/var/lib/locate"
 	
 	install -Dm644 ../updatedb.conf "${pkgdir}/etc/updatedb.conf"
+	install -Dm644 ../sysusers.d "${pkgdir}/usr/lib/sysusers.d/locate.conf"
+	install -Dm644 ../updatedb.timer "${pkgdir}/usr/lib/systemd/system/updatedb.timer"
+	install -Dm644 ../updatedb.service "${pkgdir}/usr/lib/systemd/system/updatedb.service"
 
-	install -D -m644 ${srcdir}/updatedb.timer ${pkgdir}/usr/lib/systemd/system/updatedb.timer
-	install -D -m644 ${srcdir}/updatedb.service ${pkgdir}/usr/lib/systemd/system/updatedb.service
-	install -d -m755 ${pkgdir}/usr/lib/systemd/system/multi-user.target.wants
-	ln -s ../updatedb.timer ${pkgdir}//usr/lib/systemd/system/multi-user.target.wants/updatedb.timer
+	install -d "${pkgdir}/usr/lib/systemd/system/multi-user.target.wants"
+	ln -s ../updatedb.timer "${pkgdir}//usr/lib/systemd/system/multi-user.target.wants/updatedb.timer"
 }

Added: sysusers.d
===================================================================
--- sysusers.d	                        (rev 0)
+++ sysusers.d	2017-04-04 05:27:41 UTC (rev 292064)
@@ -0,0 +1 @@
+g locate 21 - -



More information about the arch-commits mailing list