summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 648b961c61b9761d6f5e2bc1e41e56738fd5b73f (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
# Maintainer: justforlxz <justforlxz@gmail.com>

pkgname=qwlroots
pkgver=0.1.0
pkgrel=1
pkgdesc='Qt and QML bindings for wlroots.'
arch=('x86_64' 'aarch64')
url="https://github.com/vioken/qwlroots"
license=('Apache' 'GPL2' 'GPL3' 'LGPL3')
depends=()
makedepends=('git' 'wlroots' 'ninja' 'wayland-protocols' 'wlr-protocols-git')
source=("https://github.com/vioken/qwlroots/archive/$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('SKIP')

build() {
  cd $pkgname-$pkgver
  cmake -B . \
        -G Ninja \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DCMAKE_INSTALL_LIBEXEC=libexec
  cmake --build .
}

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