35 lines
1022 B
Bash
35 lines
1022 B
Bash
# Template file for 'libgsf'
|
|
pkgname=libgsf
|
|
version=1.14.45
|
|
revision=2
|
|
build_style=gnu-configure
|
|
build_helper="gir"
|
|
configure_args="--disable-static $(vopt_enable gir introspection)"
|
|
hostmakedepends="glib-devel intltool pkg-config
|
|
$(vopt_if gir 'gobject-introspection')"
|
|
makedepends="gdk-pixbuf-devel libxml2-devel"
|
|
short_desc="Structured File Library"
|
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
|
license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
|
homepage="https://www.gnome.org/"
|
|
distfiles="${GNOME_SITE}/libgsf/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=5cbc2c0f1dc44d202fa0c6e3a51e9f17b0c2deb8711ba650432bfde3180b69fa
|
|
|
|
# Package build options
|
|
build_options="gir"
|
|
build_options_default="gir"
|
|
|
|
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
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
fi
|
|
}
|
|
}
|