[arch-commits] Commit in sway/repos (4 files)
Alexander Rødseth
arodseth at archlinux.org
Mon Jun 3 14:56:01 UTC 2019
Date: Monday, June 3, 2019 @ 14:56:01
Author: arodseth
Revision: 476736
archrelease: copy trunk to community-staging-x86_64
Added:
sway/repos/community-staging-x86_64/
sway/repos/community-staging-x86_64/PKGBUILD
(from rev 476735, sway/trunk/PKGBUILD)
sway/repos/community-staging-x86_64/sway-session.target
(from rev 476735, sway/trunk/sway-session.target)
sway/repos/community-staging-x86_64/sway.service
(from rev 476735, sway/trunk/sway.service)
---------------------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
sway-session.target | 8 ++++++++
sway.service | 16 ++++++++++++++++
3 files changed, 62 insertions(+)
Copied: sway/repos/community-staging-x86_64/PKGBUILD (from rev 476735, sway/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-06-03 14:56:01 UTC (rev 476736)
@@ -0,0 +1,38 @@
+# Maintainer: Jerome Leclanche <jerome at leclan.ch>
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+
+pkgname=sway
+pkgver=1.1.1
+pkgrel=1
+pkgdesc='Tiling Wayland compositor and replacement for the i3 window manager'
+arch=(x86_64)
+url='https://swaywm.org/'
+license=(MIT)
+depends=(cairo gdk-pixbuf2 json-c pango pcre ttf-font 'wlroots>=0.6.0')
+makedepends=(meson ninja scdoc wayland-protocols)
+optdepends=(
+ 'dmenu: for launching applications'
+ 'i3status: display a status line'
+ 'rxvt-unicode: default terminal emulator'
+ 'xorg-server-xwayland: X11 support'
+)
+validpgpkeys=("9DDA3B9FA5D58DD5392C78E652CB6609B22DA89A") # Drew DeVault
+source=(
+ "$pkgname-$pkgver.tar.gz::https://github.com/swaywm/$pkgname/archive/$pkgver.tar.gz"
+ "https://github.com/swaywm/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz.sig"
+)
+sha256sums=('740bf97556c54da83937a255113d715aaa05e05b44d61fbe85e01b53ff1f9922'
+ 'SKIP')
+
+build() {
+ mkdir -p build
+ arch-meson build $pkgname-$pkgver -D werror=false -D b_ndebug=true
+ ninja -C build
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+ install -Dm644 "$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim: ts=2 sw=2 et
Copied: sway/repos/community-staging-x86_64/sway-session.target (from rev 476735, sway/trunk/sway-session.target)
===================================================================
--- community-staging-x86_64/sway-session.target (rev 0)
+++ community-staging-x86_64/sway-session.target 2019-06-03 14:56:01 UTC (rev 476736)
@@ -0,0 +1,8 @@
+# https://github.com/swaywm/sway/wiki/Systemd-integration
+
+[Unit]
+Description=sway compositor session
+Documentation=man:systemd.special(7)
+BindsTo=graphical-session.target
+Wants=graphical-session-pre.target
+After=graphical-session-pre.target
Copied: sway/repos/community-staging-x86_64/sway.service (from rev 476735, sway/trunk/sway.service)
===================================================================
--- community-staging-x86_64/sway.service (rev 0)
+++ community-staging-x86_64/sway.service 2019-06-03 14:56:01 UTC (rev 476736)
@@ -0,0 +1,16 @@
+# https://github.com/swaywm/sway/wiki/Systemd-integration
+
+[Unit]
+Description=sway - SirCmpwn's Wayland window manager
+Documentation=man:sway(5)
+BindsTo=graphical-session.target
+Wants=graphical-session-pre.target
+After=graphical-session-pre.target
+
+[Service]
+Type=simple
+EnvironmentFile=-%h/.config/sway/env
+ExecStart=/usr/bin/sway
+Restart=on-failure
+RestartSec=1
+TimeoutStopSec=10
More information about the arch-commits
mailing list