diff --git a/srcpkgs/libgit2-glib-devel b/srcpkgs/libgit2-glib-devel new file mode 120000 index 00000000000..971a4431e0d --- /dev/null +++ b/srcpkgs/libgit2-glib-devel @@ -0,0 +1 @@ +libgit2-glib \ No newline at end of file diff --git a/srcpkgs/libgit2-glib/template b/srcpkgs/libgit2-glib/template new file mode 100644 index 00000000000..b1e57d385de --- /dev/null +++ b/srcpkgs/libgit2-glib/template @@ -0,0 +1,30 @@ +# Template file for 'libgit2-glib' +pkgname=libgit2-glib +version=0.22.8 +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="beefcurtains " +license="LGPL-2.1" +homepage="https://github.com/GNOME/${pkgname}" +distfiles="${homepage}/archive/v${version}.tar.gz" +checksum=cfb84eef25ecfa853149245f095407f7eaf49e2a9d51c2d1451801766c687c42 + +pre_configure() { + NOCONFIGURE=y sh autogen.sh +} + +libgit2-glib-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove "usr/lib/*.so" + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share + } +}