void-packages/srcpkgs/libgit2-glib/template
2017-07-30 16:12:06 +00:00

30 lines
862 B
Bash

# Template file for 'libgit2-glib'
pkgname=libgit2-glib
version=0.26.0
revision=1
build_style=gnu-configure
configure_args="--disable-silent-rules"
hostmakedepends="automake glib-devel gnome-common
gobject-introspection gtk-doc pkg-config"
makedepends="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=b46af6f134b1b52bfb89579831dd941720d7bba82b6587b407eb32ecb75bbd8e
pre_configure() {
NOCONFIGURE=y sh autogen.sh
}
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
vmove usr/share
}
}