summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorKopfKrieg2018-08-08 17:15:42 +0200
committerKopfKrieg2018-08-08 17:15:42 +0200
commitf2b56478fbed82bf32e60baf50454acb268fbb20 (patch)
treebcf29fdf73ea6b94b5193ef9c3009753cca2e5b5 /PKGBUILD
parentdb283e53d65afe1d72e61976070faa8fd90c12ac (diff)
downloadaur-f2b56478fbed82bf32e60baf50454acb268fbb20.tar.gz
Forgot to create new directory…
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index fa338e897467..a029cb35f786 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"