diff options
| author | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
|---|---|---|
| committer | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
| commit | c82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch) | |
| tree | 56d864b5a5c6c145edd96178ae219a8f90e191a6 /opt/sway/MAKEPKG | |
| download | ports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz | |
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'opt/sway/MAKEPKG')
| -rw-r--r-- | opt/sway/MAKEPKG | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/opt/sway/MAKEPKG b/opt/sway/MAKEPKG new file mode 100644 index 0000000..0dcc0c4 --- /dev/null +++ b/opt/sway/MAKEPKG @@ -0,0 +1,41 @@ +#!/bin/mkpkg +# description: i3-compatible Wayland compositor +# url: https://swaywm.org/ + +name=sway +version=1.12 +release=1 +depends=(cairo glib json-c libdrm libinput pcre2 libxkbcommon pango udevd wayland wlroots libevdev pixman) +makedeps=(scdoc) +source=(https://github.com/swaywm/sway/archive/$version/$name-$version.tar.gz) + +sha256sums=( + "29ca7caac960d13e02d8213418d91a5422c7c23102a283ceab944c57c5e1efcf" +) + +build() { + cd $name-$version + + meson setup build \ + --prefix=/usr \ + --buildtype=plain \ + --wrap-mode=nodownload \ + -D b_lto=true \ + -D b_pie=true \ + -D tray=disabled \ + -D bash-completions=false \ + -D zsh-completions=false \ + -D fish-completions=false \ + -D man-pages=enabled \ + -D werror=false + + meson compile -C build + DESTDIR=$PKG meson install -C build +} + +signify() { + untrusted comment: public key + RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 +} + +# vim: filetype=sh |
