blob: 8a65e761a6df7e3fe16ea8f535be275880545c27 (
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
|
# Maintainer: justforlxz <justforlxz@gmail.com>
pkgname=waylib-git
pkgver=r287.fca3d43
pkgrel=1
pkgdesc='A wrapper for wlroots based on Qt.'
arch=('x86_64' 'aarch64')
url="https://github.com/vioken/waylib"
license=('Apache' 'GPL2' 'GPL3' 'LGPL3')
depends=()
makedepends=('git' 'qwlroots' 'ninja')
provides=('waylib')
source=("git+https://github.com/vioken/waylib")
sha512sums=('SKIP')
pkgver() {
cd waylib
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
build() {
cd waylib
cmake -B . -G Ninja -DCMAKE_INSTALL_PREFIX=/usr
cmake --build .
}
package() {
cd waylib
DESTDIR="$pkgdir" ninja install
}
|