-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
32 lines (29 loc) · 1.03 KB
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Template file for 'plocate'
pkgname=plocate
version=1.1.22
revision=1
build_style=meson
configure_args="
-Dinstall_systemd=true
-Dlocategroup=_plocate
-Dsystemunitdir=/usr/lib/systemd/system
-Dupdatedb_progname=pupdatedb"
hostmakedepends="pkg-config"
makedepends="libzstd-devel liburing-devel"
short_desc="Much faster locate based on posting lists"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://plocate.sesse.net/"
changelog="https://git.sesse.net/?p=plocate;a=blob_plain;f=NEWS;hb=HEAD"
distfiles="https://plocate.sesse.net/download/plocate-${version}.tar.gz"
checksum=3b7e4741b4aa2ec044e53eff06474a32a3fb1e928b9382351fe79d4c27fb0049
system_accounts="_plocate"
alternatives="
locate:locate:/usr/bin/plocate
locate:locate.1:/usr/share/man/man1/plocate.1
locate:updatedb:/usr/bin/pupdatedb
locate:updatedb.conf.5:/usr/share/man/man5/pupdatedb.conf.5"
post_install() {
vinstall ${FILESDIR}/plocate.cron-daily 744 etc/cron.daily plocate-build
mv ${DESTDIR}/usr/share/man/man5/{,p}updatedb.conf.5
}