28 lines
749 B
Plaintext
28 lines
749 B
Plaintext
# Template file for 'libgit2'
|
|
pkgname=libgit2
|
|
version=0.21.3
|
|
revision=2
|
|
build_style=cmake
|
|
hostmakedepends="cmake python git"
|
|
makedepends="zlib-devel libressl-devel>=2.1.2"
|
|
short_desc="The Git linkable library"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://libgit2.github.com/"
|
|
update_site="https://github.com/libgit2/libgit2/tags"
|
|
update_pattern='archive/v?\K[\d.]+(?=\.tar\.gz)'
|
|
license="GPL-2 with Linking Exception"
|
|
|
|
do_fetch() {
|
|
git clone -b v${version} git://github.com/libgit2/libgit2.git ${pkgname}-${version}
|
|
}
|
|
|
|
libgit2-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|