diff --git a/README.md b/README.md index a1861a1..1002870 100644 --- a/README.md +++ b/README.md @@ -139,3 +139,11 @@ It may be helpful to periodically clear out the logs directory in between invocations of the AUR Helper script. It is recommended to use the script with a prepared config. + +# Other Notes + +By default, `makechrootpkg` does not verify integrity of files in the PKGBUILD. +Use the `makechrootpkg_noskipinteg.hook` to modify the `makechrootpkg` script to +not skip integrity checks. + +The hook must be placed in `/etc/pacman.d/hooks/`. diff --git a/makechrootpkg_noskipinteg.hook b/makechrootpkg_noskipinteg.hook new file mode 100644 index 0000000..90902da --- /dev/null +++ b/makechrootpkg_noskipinteg.hook @@ -0,0 +1,11 @@ +[Trigger] +Operation = Install +Operation = Upgrade +Type = Package +Target = devtools + +[Action] +Description = Force makechrootpkg to not --skipinteg +When = PostTransaction +Exec = /usr/bin/sed -i '/^default_makepkg_args=.*$/s/ --skipinteg//' /usr/bin/makechrootpkg +Depends = devtools