30 lines
912 B
Bash
30 lines
912 B
Bash
# Template file for 'rmlint'
|
|
pkgname=rmlint
|
|
version=2.10.2
|
|
revision=2
|
|
build_style=scons
|
|
make_build_args="VERBOSE=1"
|
|
hostmakedepends="pkg-config python3-Sphinx python3-setuptools glib-devel"
|
|
makedepends="libblkid-devel elfutils-devel json-glib-devel"
|
|
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/"
|
|
changelog="https://raw.githubusercontent.com/sahib/rmlint/master/CHANGELOG.md"
|
|
distfiles="https://github.com/sahib/${pkgname}/archive/v${version}.tar.gz"
|
|
checksum=0a0233ad517e0fb721f21e188a57cdee5279dd5329b38acb56d5d5312ce46388
|
|
|
|
pre_build() {
|
|
make_build_args+=" --prefix=${DESTDIR}/usr"
|
|
}
|
|
|
|
pre_install() {
|
|
vbin rmlint
|
|
vman docs/rmlint.1.gz
|
|
make_install_args="${make_build_args} --prefix=${DESTDIR}/usr -j1"
|
|
}
|
|
|
|
post_install() {
|
|
rm -f "${DESTDIR}/usr/share/glib-2.0/schemas/gschemas.compiled"
|
|
}
|