summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD1
-rw-r--r--alacritty-xwayland.install4
2 files changed, 5 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 02d1843a479d..be5e10692adb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,6 +7,7 @@ pkgrel='0'
arch=('any')
url='https://github.com/alacritty/alacritty/issues/4739'
depends=('alacritty' 'sed')
+install="${pkgname}.install"
source=("${pkgname}.hook" "${pkgname}-patch")
md5sums=('SKIP' 'SKIP')
diff --git a/alacritty-xwayland.install b/alacritty-xwayland.install
new file mode 100644
index 000000000000..cfbb11d37c06
--- /dev/null
+++ b/alacritty-xwayland.install
@@ -0,0 +1,4 @@
+post_install() {
+ /usr/share/libalpm/scripts/alacritty-xwayland-patch
+}
+