[arch-commits] Commit in plocate/trunk (PKGBUILD plocate.install)

Morten Linderud foxboron at archlinux.org
Thu Feb 25 21:27:46 UTC 2021


    Date: Thursday, February 25, 2021 @ 21:27:46
  Author: foxboron
Revision: 874167

upgpkg: plocate 1.1.5-2

Modified:
  plocate/trunk/PKGBUILD
  plocate/trunk/plocate.install

-----------------+
 PKGBUILD        |    6 ++----
 plocate.install |    2 +-
 2 files changed, 3 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-25 19:26:14 UTC (rev 874166)
+++ PKGBUILD	2021-02-25 21:27:46 UTC (rev 874167)
@@ -3,7 +3,7 @@
 
 pkgname=plocate
 pkgver=1.1.5
-pkgrel=1
+pkgrel=2
 pkgdesc="Alternative to locate, faster and compatible with mlocate's database."
 arch=('x86_64' 'i686')
 url="https://plocate.sesse.net"
@@ -12,6 +12,7 @@
 depends=('zstd' 'liburing' 'systemd')
 makedepends=('meson')
 conflicts=('mlocate')
+backup=('etc/updatedb.conf')
 source=("${url}/download/${pkgname}-${pkgver}.tar.gz"
         'plocate.sysusers'
         'plocate.tmpfiles'
@@ -41,7 +42,4 @@
     install -Dm644 ../plocate.tmpfiles "$pkgdir/usr/lib/tmpfiles.d/plocate.conf"
     install -Dm644 ../plocate.sysusers "$pkgdir/usr/lib/sysusers.d/plocate.conf"
     install -Dm644 ../updatedb.conf "${pkgdir}/etc/updatedb.conf"
-
-    mv "$pkgdir/usr/share/man/man5/updatedb.conf.5" \
-       "$pkgdir/usr/share/man/man5/updatedb.plocate.conf.5"
 }

Modified: plocate.install
===================================================================
--- plocate.install	2021-02-25 19:26:14 UTC (rev 874166)
+++ plocate.install	2021-02-25 21:27:46 UTC (rev 874167)
@@ -1,6 +1,6 @@
 post_upgrade() {
   cat << EOF
-plocate now provides it's own "updatedb". plocate-build.service is deprecated
+plocate now provides its own "updatedb". plocate-build.service is deprecated
 and should be removed. Enable plocate-updatedb.timer.
 EOF
 }



More information about the arch-commits mailing list