aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sway/APKBUILD
blob: fb2cb9a1ce32e1a715e6583d20b58f36de649ef7 (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_rc4
_pkgver=1.0-rc4
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="8c79be79a9ed0c659b07aadf8c4a1ea09848c36613ae73368d03264b402ec7226aff79bcaf79ae44cda71e9fb972fed2c3649e3fb049d81c3d0e232b8605d312  sway-1.0-rc4.tar.gz"