void-packages/srcpkgs/libgit2-glib/template

25 lines
759 B
Bash

# Template file for 'libgit2-glib'
pkgname=libgit2-glib
version=0.26.4
revision=1
build_style=meson
configure_args="-Dintrospection=false -Dvapi=false"
hostmakedepends="pkg-config glib-devel"
makedepends="libglib-devel libgit2-devel python-gobject-devel"
short_desc="Glib wrapper library around libgit2"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1"
homepage="https://github.com/GNOME/${pkgname}"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=832ae9617df72a9a4ad42842630e70ee491614832b92bc6ae4c2b814e1e0953e
libgit2-glib-devel_package() {
depends="${sourcepkg}>=${version}_${revision} $makedepends"
short_desc+=" - development files"
pkg_install() {
vmove "usr/lib/*.so"
vmove usr/include
vmove usr/lib/pkgconfig
}
}