git-series: rebuild for libgit2

This commit is contained in:
Marcin Puc 2023-06-10 12:45:07 +02:00 committed by classabbyamp
parent 7459872e37
commit 478a4da921
No known key found for this signature in database
GPG key ID: 6BE0755918A4C7F5

View file

@ -1,7 +1,7 @@
# Template file for 'git-series'
pkgname=git-series
version=0.9.1
revision=15
revision=16
build_style=cargo
hostmakedepends="cmake pkg-config perl"
makedepends="libgit2-devel libcurl-devel"
@ -10,7 +10,7 @@ short_desc="Track patch series in git"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT"
homepage="https://github.com/git-series/git-series"
distfiles="https://github.com/git-series/git-series/archive/${version}.tar.gz"
distfiles="https://github.com/git-series/git-series/archive/refs/tags/${version}.tar.gz"
checksum=c0362e19d3fa168a7cb0e260fcdecfe070853b163c9f2dfd2ad8213289bc7e5f
post_extract() {
@ -18,9 +18,11 @@ post_extract() {
cargo update --package url@1.2.3 --precise 1.7.2
cargo update --package openssl-sys@0.9.1 --precise 0.9.60
}
pre_build() {
export LIBGIT2_SYS_USE_PKG_CONFIG=yes
}
post_install() {
vman git-series.1
vlicense LICENSE.txt