void-packages/srcpkgs/libgsf/template

34 lines
1.0 KiB
Bash

# Template file for 'libgsf'
pkgname=libgsf
version=1.14.48
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=ff86d7f1d46dd0ebefb7bd830a74a41db64362b987bf8853fff6ab4c1132b837
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
}
}