# Template file for 'rmlint'
pkgname=rmlint
version=2.8.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=196bb595ac4d3d1a76ed62542b7895bda1cea47f0f77483286b2dfc8fc797253

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