void-packages/srcpkgs/glib-networking/template

27 lines
973 B
Bash

# Template file for 'glib-networking'
pkgname=glib-networking
version=2.56.0
revision=1
lib32disabled=yes
configure_args="-Dca_certificates_path=/etc/ssl/certs/ca-certificates.crt -Dinstalled_tests=false"
build_style=meson
hostmakedepends="pkg-config intltool"
makedepends="libglib-devel libproxy-devel libgpg-error-devel
libgcrypt-devel p11-kit-devel gnutls-devel
gsettings-desktop-schemas-devel ca-certificates"
depends="ca-certificates gsettings-desktop-schemas"
short_desc="Network-related giomodules for glib"
maintainer="Enno Boland <gottox@voidlinux.eu>"
homepage="http://www.gnome.org/"
license="LGPL-2.1-or-later"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=47fd10bcae2e5039dc5f685e3ea384f48e64a6bee26d755718f534a978477c93
post_install() {
rm -rf ${DESTDIR}/usr/lib/systemd
# BUG: upstream has a bugged meson.build file, it installs even if -Dinstalled_tests
# is false.
rm -rf ${DESTDIR}/usr/share/installed-tests
}