rmlint: fix rmlint-dbg package

This commit is contained in:
Đoàn Trần Công Danh 2022-12-13 00:12:25 +07:00
parent 7ba18fc1e6
commit 8ef903d974
1 changed files with 10 additions and 3 deletions

View File

@ -1,8 +1,10 @@
# Template file for 'rmlint'
pkgname=rmlint
version=2.10.1
revision=5
revision=6
build_style=scons
make_build_args="VERBOSE=1"
make_install_args="VERBOSE=1"
hostmakedepends="pkg-config python3-Sphinx glib-devel"
makedepends="libblkid-devel elfutils-devel json-glib-devel"
short_desc="Extremely fast tool to remove duplicates"
@ -13,7 +15,12 @@ changelog="https://raw.githubusercontent.com/sahib/rmlint/master/CHANGELOG.md"
distfiles="https://github.com/sahib/${pkgname}/archive/v${version}.tar.gz"
checksum=10e72ba4dd9672d1b6519c0c94eae647c5069c7d11f1409a46e7011dd0c6b883
do_install() {
scons install --prefix=${DESTDIR}/usr
pre_install() {
vmkdir usr/bin
vmkdir usr/share/man/man1
make_install_args+=" --prefix=${DESTDIR}/usr"
}
post_install() {
rm -f "${DESTDIR}/usr/share/glib-2.0/schemas/gschemas.compiled"
}