aboutsummaryrefslogtreecommitdiffstats
path: root/testing/wayfire/APKBUILD
blob: 0a71fc8f7f678e657270b6fbdfbfc6b6b884873c (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
# Contributor: Danct12 <danct12@disroot.org>
# Maintainer: Danct12 <danct12@disroot.org>
pkgname=wayfire
pkgver=0.3
pkgrel=0
pkgdesc="Compiz-clone Wayland compositor"
url="https://wayfire.org"
arch="all"
license="MIT"
install="$pkgname.post-install"
makedepends="wlroots-dev glm-dev wf-config-dev meson ninja cmake cairo-dev libexecinfo-dev"
options="!check" # no testsuite
subpackages="$pkgname-dev"
source="https://github.com/WayfireWM/$pkgname/releases/download/$pkgver.0/$pkgname-$pkgver.tar.xz"

build() {
	meson build --prefix=/usr --buildtype=release
}

package() {
	DESTDIR="$pkgdir" ninja -C build install

	install -Dm644 "$builddir/wayfire.ini.default" "$pkgdir/usr/share/wayfire/wayfire.ini.default"
	install -Dm644 "$builddir/wayfire.desktop" "$pkgdir/usr/share/wayland-sessions/wayfire.desktop"
}

sha512sums="096d03795d56d336857e844ec9cef68af36c11d1d5dc7e591aaf9be54bf1a58a87e4c23624da58d71a5fe3056a11ffc3e788316ef01fb8c36b862378065ce31a  wayfire-0.3.tar.xz"