### this file is sourced not run
PKGVER=1.1.19
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=plocate-$PKGVER.tar.gz
MD5SUM=be044fb0288ae18314566353f5ac3277
SRC_URL=https://plocate.sesse.net/download/$TARBALL
BUNDLE=

SLACKREQ=liburing
SLACKDESC="plocate: plocate $PKGVER (Replacement for locate)
plocate: 
plocate: plocate is a locate(1) based on posting lists, completely replacing 
plocate: mlocate with a much faster (and smaller) index. It is suitable as a 
plocate: default locate on your system.
plocate: 
plocate: https://plocate.sesse.net/
plocate: 
plocate: 
plocate: 
plocate: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	pkg_build_meson &&
	pkg_build_slackdesc &&

	# rename to avoid system conflict
	mv -v /usr/sbin/updatedb{,-plocate} &&
	mv -v /usr/share/man/man5/updatedb{,-plocate}.conf.5 &&
	mv -v /usr/share/man/man8/updatedb{,-plocate}.8 &&
	true
}


