blob: 68701ad9384382c046c4ddd6253fb204fd3a37a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# Maintainer: KopfKrieg <archlinux [at] absolem [dot] cc>
pkgname=pacman-cleanup-hook
pkgver=0.1
pkgrel=1
pkgdesc="Pacman hook to cleanup pacman cache, keeps only the latest cache and the currently installed package. No configuration necessary, just install it."
arch=("any")
depends=("pacman")
source=("cleanup.hook")
sha1sums=("8352fc69232b9ae2fea24672c15e103fff80a5d4")
package() {
mkdir -p "${pkgdir}/etc/pacman.d/hooks"
cp "${srcdir}/cleanup.hook" "${pkgdir}/etc/pacman.d/hooks/cleanup.hook"
chmod 0644 "${pkgdir}/etc/pacman.d/hooks/cleanup.hook"
chown root:root "${pkgdir}/etc/pacman.d/hooks/cleanup.hook"
}
|