blob: 25c8325f3e925fe758bb5c21e985bf20cb926ab5 (
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
|
# Maintainer: justforlxz <justforlxz@gmail.com>
pkgname=qwlroots-git
pkgver=0.3.0.wlroots0.17.0.18.r7.gf00ee45
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=()
OPTIONS=('staticlibs')
makedepends=('git' 'wlroots' 'ninja' 'wayland-protocols' 'wlr-protocols')
provides=('qwlroots')
source=("git+https://github.com/vioken/qwlroots")
sha512sums=('SKIP')
pkgver() {
cd qwlroots
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd qwlroots
cmake -B . -G Ninja -DCMAKE_INSTALL_PREFIX=/usr
cmake --build .
}
package() {
cd qwlroots
DESTDIR="$pkgdir" ninja install
}
|