void-packages/srcpkgs/libgsf/template

34 lines
1.0 KiB
Bash

# Template file for 'libgsf'
pkgname=libgsf
version=1.14.50
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"
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=6e6c20d0778339069d583c0d63759d297e817ea10d0d897ebbe965f16e2e8e52
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
}
}