blob: 3a564aaf8e1fce6998c4126383a4910377e00abe (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Maintainer: Shengyu Zhang <la@archlinuxcn.org>
# Contributor: Brett Cornwall <ainola@archlinux.org>
# Contributor: Adrian Perez de Castro <aperez@igalia.com>
pkgdesc='A library to create panels and other desktop components for Wayland using the Layer Shell protocol and GTK4'
pkgname=gtk4-layer-shell
pkgver=1.0.2
pkgrel=4
arch=(x86_64 aarch64)
license=(MIT)
url="https://github.com/wmww/gtk4-layer-shell"
depends=(
"gtk4"
"wayland"
)
makedepends=(
"gtk-doc"
"gobject-introspection"
"meson"
"ninja"
"valabind"
"python"
"luajit"
)
checkdepends=(
"lua51-lgi"
)
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('a3a827845612fa15de30734eb29c01db329c32f8e279d8bc5251facc69220b86')
build() {
meson setup \
--prefix=/usr \
--wrap-mode=nofallback \
--buildtype=plain \
-Dtests=false \
-Ddocs=true \
-Dintrospection=true \
-Dvapi=true \
-Dexamples=false \
-Dsmoke-tests=false \
"$pkgname-$pkgver" \
build
ninja -C build
}
package() {
DESTDIR="$pkgdir" ninja -C build install
install -D -m 644 "$pkgname-$pkgver/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|