summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ae51b7f23222046282e13509894882ae6105e88f (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
# Maintainer: zccrs <zhangjide@deepin.org>
pkgname=treeland
pkgver=0.2.2
pkgrel=1
pkgdesc='a new wayland compositer for DDE'
arch=('x86_64' 'aarch64')
url="https://github.com/linuxdeepin/treeland"
license=('LGPL3')
depends=('qt6-declarative')
makedepends=('git' 'qt6-tools' 'waylib' 'cmake' 'ninja')
groups=('deepin')
source=("https://github.com/linuxdeepin/treeland/archive/$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('dc330636330e76d94bdbb6065ef9aec4c82e8c831c2312a529509aa3767fa333')

build() {
	cd $pkgname-$pkgver
	cmake -GNinja \
		-DCMAKE_INSTALL_LIBEXECDIR=libexec \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_BUILD_TYPE=Release

	cmake --build .
}

package() {
	cd $pkgname-$pkgver
	DESTDIR="$pkgdir" ninja install
}