39 lines
998 B
Bash
39 lines
998 B
Bash
pkgname=gtk-layer-shell
|
|
pkgver=0.9.2
|
|
pkgdesc="Library to create desktop components for Wayland using the Layer Shell protocol"
|
|
homepage="https://github.com/wmww/gtk-layer-shell"
|
|
license=("MIT-with-advertising" "LGPL-3+")
|
|
sources=("${pkgname}-${pkgver}.tar.gz")
|
|
urls=("https://github.com/wmww/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
|
|
sha512sums=("7ecbefca73f3bcba709f2b5f4153203592cb345ebce8aee27e75365d615e9a8f66ec28f9d42bae8828da9427082b0df190e820593301a80ac8b730c61a75b708")
|
|
|
|
src_prepare() {
|
|
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
|
}
|
|
|
|
src_build() {
|
|
local meson_args=(
|
|
--prefix=/usr
|
|
--buildtype=release
|
|
--wrap-mode=nodownload
|
|
-D python.bytecompile=1
|
|
-D examples=false
|
|
-D docs=false
|
|
-D tests=true
|
|
-D introspection=false
|
|
-D vapi=false
|
|
)
|
|
meson setup build "${meson_args[@]}"
|
|
meson compile -C build
|
|
}
|
|
|
|
src_check() {
|
|
meson test -C build
|
|
}
|
|
|
|
src_install() {
|
|
meson install -C build --destdir "$pkgdir"
|
|
}
|
|
|
|
# vim:ft=sh syn=sh et sw=2:
|