34 lines
1017 B
Bash
34 lines
1017 B
Bash
# Template file for 'gcab'
|
|
pkgname=gcab
|
|
version=1.6
|
|
revision=1
|
|
build_style=meson
|
|
build_helper=gir
|
|
configure_args="$(vopt_bool gir introspection) -Ddocs=false"
|
|
hostmakedepends="glib-devel gettext pkg-config $(vopt_if gir vala)"
|
|
makedepends="libglib-devel $(vopt_if gir vala)"
|
|
short_desc="GObject library to create cabinet files"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://wiki.gnome.org/msitools"
|
|
changelog="https://gitlab.gnome.org/GNOME/gcab/-/raw/master/NEWS"
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version}/${pkgname}-${version}.tar.xz"
|
|
checksum=2f0c9615577c4126909e251f9de0626c3ee7a152376c15b5544df10fc87e560b
|
|
|
|
build_options="gir"
|
|
build_options_default="gir"
|
|
|
|
gcab-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} libglib-devel"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
vmove usr/share/vala
|
|
fi
|
|
}
|
|
}
|