summaryrefslogtreecommitdiff
path: root/user/sway/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/sway/APKBUILD')
-rw-r--r--user/sway/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/sway/APKBUILD b/user/sway/APKBUILD
new file mode 100644
index 000000000..a37dd1312
--- /dev/null
+++ b/user/sway/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=sway
+pkgver=1.10
+pkgrel=0
+pkgdesc="tiling Wayland compositor like i3"
+url="https://swaywm.org"
+arch="all"
+license="MIT"
+depends="wlroots-0.18"
+makedepends="cairo-dev gdk-pixbuf-dev json-c-dev meson libevdev-dev
+ libinput-dev>=1.26.0 libxkbcommon>=1.5.0 pango-dev pcre2-dev scdoc
+ wayland-protocols wlroots-0.18-dev"
+subpackages="$pkgname-doc"
+source="https://github.com/swaywm/sway/releases/download/$pkgver/sway-$pkgver.tar.gz"
+
+build() {
+ meson setup \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --buildtype=release \
+ --wrap-mode=nofallback \
+ . output
+ meson compile -C output
+}
+
+check() {
+ meson test -C output
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C output
+}
+
+sha512sums="f75a80506d2dcae722ea64c47fa423b9713bcfaa6541ffc353abd413238abb9ab7c88490d54e30ef09dc003215aa6a0005e5b425c9c943f982d5ff3c7cfad440 sway-1.10.tar.gz"