archpackaging

PKGBUILDs
git clone https://git.awy.one/archpackaging
Log | Files | Refs

sway-git.install (301B) - View raw


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
upgrade_wlroots_message() {
	cat <<END

Please make sure your wlroots-git is up-to-date before compiling sway-git.

END
}

pre_install() {
	upgrade_wlroots_message
}

pre_upgrade() {
	upgrade_wlroots_message
}

post_install() {
	post_upgrade
}

post_upgrade() {
	setcap cap_sys_nice+ep usr/bin/sway
}