sway: init at 1.6
This commit is contained in:
parent
ca0f777398
commit
a10721c09c
58
sakamoto/sway/APKBUILD
Normal file
58
sakamoto/sway/APKBUILD
Normal file
|
@ -0,0 +1,58 @@
|
||||||
|
# Contributor: Henrik Riomar <henrik.riomar@gmail.com>
|
||||||
|
# Contributor: Antoine Fontaine <antoine.fontaine@epfl.ch>
|
||||||
|
# Maintainer: Drew DeVault <sir@cmpwn.com>
|
||||||
|
pkgname=sway
|
||||||
|
pkgver=1.6
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="i3 compatible window manager for Wayland"
|
||||||
|
url="https://swaywm.org"
|
||||||
|
arch="all"
|
||||||
|
license="MIT"
|
||||||
|
options="suid !check" # no test suite
|
||||||
|
depends="swaybg"
|
||||||
|
makedepends="cairo-dev
|
||||||
|
gdk-pixbuf-dev
|
||||||
|
json-c-dev
|
||||||
|
libevdev-dev
|
||||||
|
libinput-dev
|
||||||
|
libxkbcommon-dev
|
||||||
|
linux-pam-dev
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
pango-dev
|
||||||
|
pcre2-dev
|
||||||
|
scdoc
|
||||||
|
wayland-dev
|
||||||
|
wayland-protocols
|
||||||
|
wlroots-dev
|
||||||
|
"
|
||||||
|
subpackages="
|
||||||
|
$pkgname-doc
|
||||||
|
$pkgname-bash-completion
|
||||||
|
$pkgname-zsh-completion
|
||||||
|
$pkgname-fish-completion
|
||||||
|
"
|
||||||
|
source="$pkgname-$pkgver.tar.gz::https://github.com/swaywm/sway/archive/$pkgver.tar.gz
|
||||||
|
sway.desktop
|
||||||
|
"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
abuild-meson . output
|
||||||
|
meson compile ${JOBS:+-j ${JOBS}} -C output
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
||||||
|
chmod u+s "$pkgdir"/usr/bin/sway
|
||||||
|
|
||||||
|
install -D -m644 "$srcdir"/sway.desktop \
|
||||||
|
"$pkgdir"/usr/share/wayland-sessions/sway.desktop
|
||||||
|
|
||||||
|
mkdir -p "$pkgdir"/usr/share/zsh "$pkgdir"/usr/share/fish
|
||||||
|
mv "$pkgdir"/usr/share/bash-completion "$pkgdir"/usr/share/
|
||||||
|
mv "$pkgdir"/usr/share/zsh/site-functions "$pkgdir"/usr/share/zsh
|
||||||
|
mv "$pkgdir"/usr/share/fish/vendor_completions.d "$pkgdir"/usr/share/fish/completions
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="f62477aa4a20de99c41078c6866ec67d04d0d1824f4cb21a0c40213dbadf6394e31cd239b74376bf604d20d03ce047ba97f1728043568fd49fcef43f5101c750 sway-1.6.tar.gz
|
||||||
|
c9bc08fbd9d059c037ad1e3b7ab5e91bcde27dce248cc558c1f126b01c85b1d0d4ed4bb10e3f27bc818a06e60a81f19478b95529d4eeb32036e2c6ea9f29db36 sway.desktop"
|
11
sakamoto/sway/sway.desktop
Normal file
11
sakamoto/sway/sway.desktop
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Sway
|
||||||
|
Name[en]=Sway
|
||||||
|
Comment=This session logs you into Sway
|
||||||
|
Comment[en]=This session logs in you into Sway
|
||||||
|
Exec=dbus-run-session /usr/bin/sway
|
||||||
|
TryExec=/usr/bin/sway
|
||||||
|
Icon=
|
||||||
|
Type=Application
|
||||||
|
X-DesktopNames=Sway
|
||||||
|
Keywords=launch;Sway;desktop;session;
|
Loading…
Reference in a new issue