Package Details: pacman-cleanup-hook 1.0-5

Git Clone URL: https://aur.archlinux.org/pacman-cleanup-hook.git (read-only)
Package Base: pacman-cleanup-hook
Description: Pacman hook to cleanup pacman cache, keeps only the latest cache and the currently installed package. No configuration necessary, just install it.
Upstream URL: None
Keywords: cleanup paccache pacman
Submitter: KopfKrieg
Maintainer: KopfKrieg
Last Packager: KopfKrieg
Votes: 13
Popularity: 2.161244
First Submitted: 2017-06-30 14:34
Last Updated: 2018-08-10 13:35

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

Xorg commented on 2018-08-10 21:58

@KopfKrieg: I'm glad to help. :)

KopfKrieg commented on 2018-08-10 13:38

@Xorg: Thank you, I've updated the PKGBUILD according to your comment. It's always nice to learn simpler ways :)

Xorg commented on 2018-08-10 12:16

@KopfKrieg: Thank you.

PS: To avoid mistake (like in pkgrel 3, fixed in pkgrel 4), you can simplify your mkdir/cp/chmod with this all-in-one command: install -D -m0644 "${srcdir}/cleanup.hook" "${pkgdir}/usr/share/libalpm/hooks/cleanup.hook" ('chown root:root' is not required: root becomes the owner on package's installation) ;)

KopfKrieg commented on 2018-08-08 15:16

@Xorg: Thanks for the suggestion, I've updated the PKGBUILD

Xorg commented on 2018-08-04 14:20

Hello,

I think you should place the hook into /usr/share/libalpm/hooks rather than /etc/pacman.d/hooks to allow user overrides.

KopfKrieg commented on 2018-05-29 17:06

Updated, thanks for noticing :)

BrLi commented on 2018-05-29 16:08

paccache is now in package pacman-contrib, please change the dependency. Thx.