void-packages/srcpkgs/libportal/template

25 lines
725 B
Bash
Raw Normal View History

2020-08-13 18:48:08 +02:00
# Template file for 'libportal'
pkgname=libportal
version=0.3
revision=1
build_style=meson
hostmakedepends="pkg-config gtk-doc"
makedepends="glib-devel"
short_desc="Flatpak portal library"
maintainer="q66 <daniel@octaforge.org>"
license="LGPL-2.0-or-later"
homepage="https://github.com/flatpak/libportal"
distfiles="https://github.com/flatpak/${pkgname}/releases/download/${version}/${pkgname}-${version}.tar.xz"
checksum=fd35d66357169e63e33ef46c43fdf22ddc07dbd960ec3462b58ca9ef15a65bd7
libportal-devel_package() {
depends="libportal>=${version}_${revision} glib-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
}
}