# Template file for 'rmlint'
pkgname=rmlint
version=2.9.0
revision=2
build_style=scons
hostmakedepends="pkg-config python3-Sphinx glib-devel"
makedepends="libblkid-devel elfutils-devel json-glib-devel"
pycompile_module="shredder"
short_desc="Extremely fast tool to remove duplicates"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-3.0-or-later"
homepage="http://rmlint.rtfd.org/"
distfiles="https://github.com/sahib/${pkgname}/archive/v${version}.tar.gz"
checksum=a2d26863e0018efad60f0b1123e7cffd8ef764c8fb574a7987a49260e4e51c8f

do_install() {
	scons install --prefix=${DESTDIR}/usr
	rm -f "${DESTDIR}/usr/share/glib-2.0/schemas/gschemas.compiled"
}
