blob: 4bb6820126f50e32486125bd5e5c1dd6132dbe0f (
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: Luis Martinez <luis dot martinez at disroot dot org>
pkgname=wayqt-git
_pkg="${pkgname%-git}"
pkgver=r34.c296e49
pkgrel=1
pkgdesc='Qt-based wrapper for various Wayland protocols'
arch=('x86_64')
url='https://gitlab.com/desktop-frameworks/wayqt'
license=('MIT')
depends=('qt5-base' 'qt5-wayland' 'wayland' 'wayland-protocols' 'wlroots')
makedepends=('git' 'meson')
provides=("$_pkg" 'libwayqt.so')
conflicts=("$_pkg")
source=("$_pkg::git+$url")
sha256sums=('SKIP')
pkgver() {
cd "$_pkg"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
arch-meson "$_pkg" build
meson compile -C build
}
package() {
meson install -C build --destdir="$pkgdir"
install -Dm644 "$_pkg/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname/"
}
|