diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = pacman-cleanup-hook pkgdesc = Pacman hook to cleanup pacman cache, keeps only the latest cache and the currently installed package. No configuration necessary, just install it. pkgver = 1.0 - pkgrel = 3 + pkgrel = 4 arch = any depends = pacman-contrib source = cleanup.hook @@ -2,7 +2,7 @@ pkgname=pacman-cleanup-hook pkgver=1.0 -pkgrel=3 +pkgrel=4 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-contrib') @@ -10,7 +10,7 @@ source=('cleanup.hook') sha1sums=('8352fc69232b9ae2fea24672c15e103fff80a5d4') package() { - mkdir -p "${pkgdir}/etc/pacman.d/hooks" + mkdir -p "${pkgdir}/usr/share/libalpm/hooks" cp "${srcdir}/cleanup.hook" "${pkgdir}/usr/share/libalpm/hooks/cleanup.hook" chmod 0644 "${pkgdir}/usr/share/libalpm/hooks/cleanup.hook" chown root:root "${pkgdir}/usr/share/libalpm/hooks/cleanup.hook" |