summarylogtreecommitdiffstats
path: root/hook.remove
diff options
context:
space:
mode:
authorSammysHP2016-04-17 13:07:47 +0200
committerSammysHP2016-04-17 13:07:47 +0200
commit30c2c39dd320d300ba6c14348154168ac5c2a5ab (patch)
treec8ce0a9c8e003ac105a200decfd7fb379f9e3207 /hook.remove
parent9327d935d880b88220fd78747245647c78264293 (diff)
downloadaur-flashplugin-focusfix.tar.gz
Use ALPM hooks
This package depends on flashplugin from [extra] and does not need any updates anymore. It patches the file via hooks automatically on every update of flashplugin.
Diffstat (limited to 'hook.remove')
-rw-r--r--hook.remove10
1 files changed, 10 insertions, 0 deletions
diff --git a/hook.remove b/hook.remove
new file mode 100644
index 000000000000..4b9b9351702b
--- /dev/null
+++ b/hook.remove
@@ -0,0 +1,10 @@
+[Trigger]
+Operation = Remove
+Type = Package
+Target = flashplugin-focusfix
+
+[Action]
+Description = Remove flashplugin focusfix
+Depends = sed
+When = PreTransaction
+Exec = /usr/bin/sed -i -e 's/XNET_ACTIVE_WINDOW/_NET_ACTIVE_WINDOW/' /usr/lib/mozilla/plugins/libflashplayer.so