mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
sys-apps/plocate: add plocate to package tree
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Arsen Arsenović <arsen@aarsen.me>
This commit is contained in:
1
sys-apps/plocate/Manifest
Normal file
1
sys-apps/plocate/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST plocate-1.1.5.tar.gz 69090 BLAKE2B 70b398eb1a5d7b36294188966ef5f46843d9db9f41021a294d88795944412b4ef3819771082955a74a9945296fa14c59461a4ab4af197691f7085a40eeb7f0ef SHA512 6169ea7b3587e12e555a42e0c70e149626810f5e6f9f1f03ca1b069d7892d45bc52cabf072324eaa6f14055943dd680a71642914c0218a770e2b00a22c75efbc
|
||||
14
sys-apps/plocate/metadata.xml
Normal file
14
sys-apps/plocate/metadata.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>arsen@aarsen.me</email>
|
||||
<name>Arsen Arsenović</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
plocate is a locate(1) based on posting lists, completely replacing mlocate with a much faster (and smaller) index. It is suitable as a default locate on your system.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="io-uring">Enable efficient I/O via sys-libs/liburing.</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
36
sys-apps/plocate/plocate-1.1.5.ebuild
Normal file
36
sys-apps/plocate/plocate-1.1.5.ebuild
Normal file
@@ -0,0 +1,36 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit meson
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URL="https://git.sesse.net/plocate"
|
||||
else
|
||||
SRC_URI="https://plocate.sesse.net/download/plocate-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
DESCRIPTION="a much faster locate"
|
||||
HOMEPAGE="https://plocate.sesse.net/"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="io-uring"
|
||||
|
||||
DEPEND="
|
||||
acct-group/locate
|
||||
!sys-apps/mlocate
|
||||
io-uring? ( sys-libs/liburing:= )
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dinstall_cron=true
|
||||
-Dinstall_systemd=true
|
||||
-Dlocategroup=locate
|
||||
)
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user