blob: 7a3540f5f0945217183f517b751dd0647cd9655d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Contributor: Henrik Riomar <henrik.riomar@gmail.com>
# Maintainer:
pkgname=sway
pkgver=1.0_rc2
_pkgver=1.0-rc2
pkgrel=0
pkgdesc="i3 compatible window manager for Wayland"
url="http://swaywm.org"
arch="all"
license="MIT"
options="suid !check"
depends=""
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"
source="$pkgname-$_pkgver.tar.gz::https://github.com/swaywm/$pkgname/archive/$_pkgver.tar.gz
"
builddir="$srcdir/$pkgname-$_pkgver"
build() {
cd "$builddir"
meson build --prefix /usr
ninja -C build
}
package() {
cd "$builddir"
DESTDIR="$pkgdir" ninja -C build install
chmod u+s "$pkgdir"/usr/bin/sway
}
sha512sums="78c93f2326952d9e56ebf38f5d6b646934230b1bf5fac50cf35f16b2c1753ffa31dd9ec874a05025ed0d1d828b9a8643c78e739abbcfba55301255b3d0ed4a3e sway-1.0-rc2.tar.gz"
|