34 lines
1017 B
Bash
34 lines
1017 B
Bash
# Template file for 'gcab'
|
|
pkgname=gcab
|
|
version=1.5
|
|
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=46bf7442491faa4148242b9ec2a0786a5f6e9effb1b0566e5290e8cc86f00f0c
|
|
|
|
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
|
|
}
|
|
}
|