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

Morten Linderud foxboron at gemini.archlinux.org
Sat Jan 1 19:11:47 UTC 2022


    Date: Saturday, January 1, 2022 @ 19:11:47
  Author: foxboron
Revision: 1091942

upgpkg: plocate 1.1.14-2 - FS#73016: provide locate

Modified:
  plocate/trunk/PKGBUILD

----------+
 PKGBUILD |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-01 19:08:17 UTC (rev 1091941)
+++ PKGBUILD	2022-01-01 19:11:47 UTC (rev 1091942)
@@ -3,7 +3,7 @@
 
 pkgname=plocate
 pkgver=1.1.14
-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,7 +12,7 @@
 depends=('zstd' 'liburing' 'systemd')
 makedepends=('meson')
 conflicts=('mlocate')
-provides=('mlocate')
+provides=('mlocate' 'locate')
 backup=('etc/updatedb.conf')
 source=("${url}/download/${pkgname}-${pkgver}.tar.gz"
         'plocate.sysusers'
@@ -44,4 +44,5 @@
     install -Dm644 ../plocate.sysusers "$pkgdir/usr/lib/sysusers.d/plocate.conf"
     install -Dm644 ../updatedb.conf "${pkgdir}/etc/updatedb.conf"
     ln -sf /usr/bin/plocate "$pkgdir/usr/bin/mlocate"
+    ln -sf /usr/bin/plocate "$pkgdir/usr/bin/locate"
 }



More information about the arch-commits mailing list