void-packages/srcpkgs/libgedit-gfls/template

39 lines
1.1 KiB
Bash

# Template file for 'libgedit-gfls'
pkgname=libgedit-gfls
version=0.1.0
revision=1
build_style=meson
build_helper=gir
configure_args="$(vopt_bool gir gobject_introspection) $(vopt_bool gtk_doc gtk_doc)"
hostmakedepends="gettext glib-devel pkg-config $(vopt_if gtk_doc gtk-doc)"
makedepends="gtk+3-devel"
short_desc="Module dedicated to file loading and saving"
maintainer="chrysos349 <chrysostom349@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/gedit-technology/libgedit-gfls"
distfiles="https://github.com/gedit-technology/libgedit-gfls/archive/${version}.tar.gz"
checksum=9c658dd507c0daf12b34e735f1e6558561ed18f549c727976116add1272ef5e6
build_options="gir gtk_doc"
build_options_default="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default+=" gtk_doc"
fi
libgedit-gfls-devel_package() {
depends="libglib-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - developement files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
if [ "$build_option_gtk_doc" ]; then
vmove usr/share/gtk-doc
fi
}
}