l_template_changes.patch 493 B

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