void-packages/srcpkgs/gcab/template

25 lines
744 B
Bash

# Template file for 'gcab'
pkgname=gcab
version=1.2
revision=1
build_style=meson
configure_args="-Dintrospection=false -Ddocs=false"
hostmakedepends="git glib-devel intltool pkg-config"
makedepends="glib-devel"
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"
distfiles="${GNOME_SITE}/${pkgname}/${version}/${pkgname}-${version}.tar.xz"
checksum=5a2d96fe7e69e42d363c31cf2370d7afa3bb69cec984d4128322ea40e62c100d
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"
}
}