summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorteknsl2022-01-09 00:44:32 +0100
committerteknsl2022-01-09 00:47:08 +0100
commitcba22b269afe21160975206a7aff9619c3255e53 (patch)
tree52e596024f06715299f5d7a76d12186a53857d05
parent9270f17619544702be1321a0547adc0a858cc246 (diff)
downloadaur-cba22b269afe21160975206a7aff9619c3255e53.tar.gz
run script after install
-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
+}
+