From 07ad80adc5e72b699748dc1dbfc4b193cf3b438f Mon Sep 17 00:00:00 2001 From: Krul Ceter Date: Thu, 29 Dec 2022 12:45:46 +0300 Subject: [PATCH] profile-cleaner: resolve conflict with pc Makefile shipped with the package shortens profile-cleaner to pc, thus causing conflict with the 'pc' package. --- srcpkgs/profile-cleaner/template | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/srcpkgs/profile-cleaner/template b/srcpkgs/profile-cleaner/template index 1ed480d7ebd7..7d0df51cb8cb 100644 --- a/srcpkgs/profile-cleaner/template +++ b/srcpkgs/profile-cleaner/template @@ -1,7 +1,7 @@ # Template file for 'profile-cleaner' pkgname=profile-cleaner version=2.42 -revision=1 +revision=2 build_style=gnu-makefile depends="bash sqlite bc parallel findutils" short_desc="Reduces profile size by cleaning their sqlite databases" @@ -11,6 +11,11 @@ homepage="https://github.com/graysky2/profile-cleaner" distfiles="https://github.com/graysky2/profile-cleaner/archive/v${version}.tar.gz" checksum=427d3c9aa0ab7cd1031a40e6da507027bd3ce4bc80a504a9dbeee536e864e9e1 -post_install() { +do_install() { + # makefile shipped with the package shortens profile-cleaner to pc, + # thus causing conflict with the 'pc' package. + vbin common/profile-cleaner + vcompletion common/zsh-completion zsh + vman doc/pc.1 profile-cleaner.1 vlicense LICENSE }