## arg 1: the new package version post_install() { # add signing key of linux-surface mirror curl -s 'https://raw.githubusercontent.com/linux-surface/linux-surface/master/pkg/keys/surface.asc' | sudo pacman-key --add - holo apply } ## arg 1: the new package version ## arg 2: the old package version post_upgrade() { # add signing key of linux-surface mirror curl -s 'https://raw.githubusercontent.com/linux-surface/linux-surface/master/pkg/keys/surface.asc' | sudo pacman-key --add - holo apply } ## arg 1: the old package version post_remove() { holo apply }