void-packages/srcpkgs/gcab/template

25 lines
733 B
Bash

# Template file for 'gcab'
pkgname=gcab
version=1.1
revision=1
configure_args="-Dintrospection=false -Ddocs=false"
build_style=meson
hostmakedepends="glib-devel git intltool pkg-config"
makedepends="glib-devel"
short_desc="A GObject library to create cabinet files"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2"
homepage="https://wiki.gnome.org/msitools"
distfiles="${GNOME_SITE}/${pkgname}/${version}/${pkgname}-${version}.tar.xz"
checksum=192b2272c2adfde43595e5c62388854bca8a404bc796585b638e81774dd62950
gcab-devel_package() {
depends="${sourcepkg}>=${version}_${revision} glib-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}