{ "name": "plocate", "version": "1.1.25", "summary": "plocate: finds files by name in an index (updatedb builds it), fast on large volumes", "category": "tool", "license": "GPL-2.0-or-later", "homepage": "https://plocate.sesse.net/", "source": { "url": "https://plocate.sesse.net/download/plocate-1.1.25.tar.gz", "sha256": "68c1d5fbb11864403ae39c1a5937f13afd80b03e68041368831ef58cb613578e" }, "watch": {"kind": "index", "url": "https://plocate.sesse.net/download/", "regex": "plocate-([0-9]+(?:\\.[0-9]+)+[a-z]?[0-9]*)\\.tar\\.gz"}, "deps": [ "zstd" ], "env_packages": [], "static": true, "nss": true, "check": "bin/plocate --version | first && bin/plocate --help | has -F \"(default is $PREFIX/var/lib/plocate/plocate.db)\" && [ -d var/lib/plocate ] && t=$(mktemp -d) && mkdir -p \"$t/tree/x/y\" && touch \"$t/tree/x/y/bvs-needle.txt\" \"$t/tree/other\" && sbin/updatedb -l no -o \"$t/db\" -U \"$t/tree\" && bin/plocate -d \"$t/db\" bvs-needle | has -x \"$t/tree/x/y/bvs-needle.txt\" && bin/plocate -d \"$t/db\" -b other | has -x \"$t/tree/other\" && grep -aq administrators sbin/updatedb && echo 'plocate: updatedb indexed a tree, plocate found the files'" }