From fad3e85fb4ad8c0ec68f6d40b2cefdb3cc7aca3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 13 Dec 2022 08:57:04 +0700 Subject: [PATCH] rmlint: ship rmlint binary again New scons seems to not allow replace old install alias in new call to alias --- srcpkgs/rmlint/template | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/srcpkgs/rmlint/template b/srcpkgs/rmlint/template index cd7dfdbcade..2a8787bd1b4 100644 --- a/srcpkgs/rmlint/template +++ b/srcpkgs/rmlint/template @@ -1,10 +1,9 @@ # Template file for 'rmlint' pkgname=rmlint version=2.10.1 -revision=6 +revision=7 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" @@ -15,10 +14,14 @@ changelog="https://raw.githubusercontent.com/sahib/rmlint/master/CHANGELOG.md" distfiles="https://github.com/sahib/${pkgname}/archive/v${version}.tar.gz" checksum=10e72ba4dd9672d1b6519c0c94eae647c5069c7d11f1409a46e7011dd0c6b883 +pre_build() { + make_build_args+=" --prefix=${DESTDIR}/usr" +} + pre_install() { - vmkdir usr/bin - vmkdir usr/share/man/man1 - make_install_args+=" --prefix=${DESTDIR}/usr" + vbin rmlint + vman docs/rmlint.1.gz + make_install_args="${make_build_args} --prefix=${DESTDIR}/usr -j1" } post_install() {