# Maintainer: novenary # Contributor: Brett Cornwall # Contributor: Maxim Baz <$pkgname at maximbaz dot com> # Contributor: Alexander F. Rødseth pkgname=sway9 pkgver=1.7 epoch=1 pkgrel=1 _commit=8afad182dffe7b4dc68481a1fcb301e427c8b536 pkgdesc='Tiling Wayland compositor and replacement for the i3 window manager (personal build)' arch=(x86_64) url='https://github.com/9ary/sway9' license=(MIT) depends=( 'cairo' 'gdk-pixbuf2' 'json-c' 'pango' 'polkit' 'pcre' 'swaybg' 'ttf-font' 'wlroots' ) makedepends=(git meson ninja scdoc setconf wayland-protocols) provides=(sway) conflicts=(sway) backup=(etc/sway/config) optdepends=( 'dmenu: Application launcher' 'grim: Screenshot utility' 'i3status: Status line' 'mako: Lightweight notification daemon' 'slurp: Select a region' 'swayidle: Idle management daemon' 'swaylock: Screen locker' 'wallutils: Timed wallpapers' 'waybar: Highly customizable bar' 'xorg-xwayland: X11 support' ) source=("git+https://github.com/9ary/$pkgname.git#commit=$_commit" "50-systemd-user.conf") sha512sums=('SKIP' 'c2b7d808f4231f318e03789015624fd4cf32b81434b15406570b4e144c0defc54e216d881447e6fd9fc18d7da608cccb61c32e0e1fab2f1fe2750acf812d3137') build() { mkdir -p build arch-meson build "$pkgname" -D sd-bus-provider=libsystemd -D werror=false -D b_ndebug=true ninja -C build } package() { DESTDIR="$pkgdir" ninja -C build install install -Dm644 "$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" install -Dm644 50-systemd-user.conf -t "$pkgdir/etc/sway/config.d/" for util in autoname-workspaces.py inactive-windows-transparency.py grimshot; do install -Dm755 "$pkgname/contrib/$util" -t \ "$pkgdir/usr/share/$pkgname/scripts" done } # vim: ts=2 sw=2 et