protocols/
test/
.clang-format
571 B
.clangd
365 B
.gitignore
82 B
.gitsigners
91 B
LICENSE
32.3 KiB
LICENSE.dwl
34.9 KiB
LICENSE.dwm
2.0 KiB
LICENSE.spectrwm
1.3 KiB
LICENSE.sway
1.0 KiB
LICENSE.tinywl
7.0 KiB
Makefile
7.8 KiB
PKGBUILD
952 B
README
5.6 KiB
config.def.h
15.7 KiB
config.mk
269 B
swm.1.adoc
3.3 KiB
swm.c
246.5 KiB
swm.desktop
81 B
swm.h
3.5 KiB
swmctl.1.adoc
2.5 KiB
swmctl.c
19.6 KiB
util.c
2.2 KiB
util.h
399 B
PKGBUILD
raw
| 1 | # Maintainer: Alexis Sellier <self@cloudhead.io> |
| 2 | |
| 3 | pkgname=swm |
| 4 | pkgver=1.0.0 |
| 5 | pkgrel=1 |
| 6 | pkgdesc='Simple window manager for Wayland' |
| 7 | arch=('x86_64') |
| 8 | url='https://github.com/cloudhead/swm' |
| 9 | license=('GPL-3.0-only') |
| 10 | options=('!debug') |
| 11 | backup=('usr/share/wayland-sessions/swm.desktop') |
| 12 | depends=( |
| 13 | 'glibc' |
| 14 | 'libinput' |
| 15 | 'libnotify' |
| 16 | 'libxcb' |
| 17 | 'libxkbcommon' |
| 18 | 'wayland' |
| 19 | 'wlroots0.20' |
| 20 | 'xcb-util-wm' |
| 21 | ) |
| 22 | optdepends=('xorg-xwayland: X11 application support') |
| 23 | makedepends=( |
| 24 | 'asciidoctor' |
| 25 | 'clang' |
| 26 | 'lld' |
| 27 | 'wayland-protocols' |
| 28 | ) |
| 29 | source=() |
| 30 | b2sums=() |
| 31 | |
| 32 | prepare() { |
| 33 | cp "${startdir}"/{Makefile,config.mk,swm.c,swm.h,swmctl.c,util.c,util.h} \ |
| 34 | "${srcdir}/" |
| 35 | cp "${startdir}"/{config.def.h,swm.1.adoc,swmctl.1.adoc,swm.desktop} \ |
| 36 | "${srcdir}/" |
| 37 | install -d "${srcdir}/protocols" |
| 38 | cp "${startdir}"/protocols/*.xml "${srcdir}/protocols/" |
| 39 | } |
| 40 | |
| 41 | build() { |
| 42 | cd "${srcdir}" |
| 43 | make |
| 44 | } |
| 45 | |
| 46 | package() { |
| 47 | cd "${srcdir}" |
| 48 | make DESTDIR="${pkgdir}" PREFIX=/usr install |
| 49 | } |