33 lines
1017 B
Bash
33 lines
1017 B
Bash
|
# Template file for 'gtk-session-lock'
|
||
|
pkgname=gtk-session-lock
|
||
|
version=0.2.0
|
||
|
revision=1
|
||
|
build_style=meson
|
||
|
build_helper="gir"
|
||
|
hostmakedepends="gobject-introspection pkg-config wayland-devel"
|
||
|
makedepends="gtk+3-devel wayland-devel"
|
||
|
short_desc="Library to build screen lockers using the ext-session-lock-v1 protocol"
|
||
|
maintainer="Jovan Lanik <jox969@gmail.com>"
|
||
|
license="GPL-3.0-only, MIT"
|
||
|
homepage="https://github.com/Cu3PO42/gtk-session-lock"
|
||
|
distfiles="https://github.com/Cu3PO42/gtk-session-lock/archive/refs/tags/v${version}.tar.gz"
|
||
|
checksum=a4245c6930580c15ed263b9a7bb7e39f47693baec78be1026b4e0e28b233cb4e
|
||
|
# tests are leftovers from gtk-layer-shell as this library is based on it
|
||
|
make_check=no
|
||
|
|
||
|
post_install() {
|
||
|
vlicense LICENSE_MIT.txt
|
||
|
}
|
||
|
|
||
|
gtk-session-lock-devel_package() {
|
||
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||
|
short_desc+=" - development files"
|
||
|
pkg_install() {
|
||
|
vmove usr/include
|
||
|
vmove usr/lib/pkgconfig
|
||
|
vmove "usr/lib/*.so"
|
||
|
vmove usr/share/gir-1.0
|
||
|
vmove usr/share/vala
|
||
|
}
|
||
|
}
|