void-packages/srcpkgs/libgsf/template

34 lines
1.0 KiB
Bash

# Template file for 'libgsf'
pkgname=libgsf
version=1.14.52
revision=1
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-static --enable-introspection"
hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config gtk-doc"
makedepends="gdk-pixbuf-devel libxml2-devel"
checkdepends="perl-XML-Parser unzip"
short_desc="Structured File Library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://www.gnome.org/"
changelog="https://gitlab.gnome.org/GNOME/libgsf/-/raw/master/ChangeLog"
distfiles="${GNOME_SITE}/libgsf/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=9181c914b9fac0e05d6bcaa34c7b552fe5fc0961d3c9f8c01ccc381fb084bcf0
pre_configure() {
autoreconf -fi
}
libgsf-devel_package() {
depends="libglib-devel libxml2-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
vmove usr/share/gtk-doc
vmove usr/share/gir-1.0
}
}