--- template.orig	2020-10-29 22:48:45.263545000 +0600
+++ template	2020-10-30 21:18:58.341349000 +0600
@@ -3,3 +3,3 @@ pkgname=hexchat
 version=2.14.3
-revision=3
+revision=2
 build_style=meson
@@ -33,2 +33,9 @@ fi
 
+# Liberation
+pre_build() {
+	# Remove nonfree browser references
+	sed -i '\|NAME Open Link| s|a new Firefox Window|Browser|' src/common/hexchat.c
+	sed -i '\|NAME Open Link| s|firefox -new-window %s\\n\\n";|xdg-open %s\\n\\n";|' src/common/hexchat.c
+}
+
 post_install() {
