36 lines
964 B
Bash
36 lines
964 B
Bash
# Template file for 'sway'
|
|
pkgname=sway
|
|
version=1.5.1
|
|
revision=1
|
|
build_style=meson
|
|
conf_files="/etc/sway/config"
|
|
hostmakedepends="pkg-config wayland-devel scdoc git"
|
|
makedepends="wlroots-devel pcre-devel json-c-devel pango-devel cairo-devel
|
|
gdk-pixbuf-devel"
|
|
depends="swaybg xorg-server-xwayland"
|
|
short_desc="Tiling Wayland compositor compatible with i3"
|
|
maintainer="Olaf Mersmann <olafm@p-value.net>"
|
|
license="MIT"
|
|
homepage="https://swaywm.org"
|
|
distfiles="https://github.com/swaywm/${pkgname}/archive/${version}.tar.gz"
|
|
checksum=095f983c9a5f80d761bc2fb19df8166839b9290124ccd47f3e74119a1335490f
|
|
|
|
post_patch() {
|
|
vsed -e 's/werror=true/werror=false/g' -i meson.build
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vbin contrib/grimshot
|
|
vman contrib/grimshot.1
|
|
}
|
|
|
|
grimshot_package() {
|
|
short_desc="Helper for screenshots within sway"
|
|
depends="grim slurp sway wl-clipboard jq libnotify"
|
|
pkg_install() {
|
|
vmove usr/bin/grimshot
|
|
vmove usr/share/man/man1/grimshot.1
|
|
}
|
|
}
|