cgit: update to 0.11.0.

This commit is contained in:
Eivind Uggedal 2015-02-16 10:12:35 +00:00
parent f38c8ba711
commit 2c7f4f7318

View File

@ -1,8 +1,8 @@
# Template build file for "cgit".
_git_version=2.0.1
_git_version=2.3.0
pkgname=cgit
version=0.10.2
version=0.11.0
revision=1
hostmakedepends="asciidoc"
makedepends="libressl-devel zlib-devel"
@ -10,25 +10,26 @@ short_desc="A fast webinterface for git"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
homepage="http://git.zx2c4.com/cgit/"
license="GPL-2"
distfiles="
http://git.zx2c4.com/cgit/snapshot/cgit-${version}.tar.xz
https://www.kernel.org/pub/software/scm/git/git-${_git_version}.tar.xz"
checksum="
94598e6582752659598e8086d3e2b2a2081df89ac8397460f507b15e71264c8d
ab12a103523b430d8d3e26ac2e05e759bdb1349f10e13bba48bed98f45c6d4df"
distfiles="http://git.zx2c4.com/cgit/snapshot/cgit-${version}.tar.xz
https://www.kernel.org/pub/software/scm/git/git-${_git_version}.tar.xz"
checksum="f2a40903ce5cc58e89ca21da6df0fd6ddc6d2d8c663820d387479d6cd5ac5ef0
94b23a14d66df536cfe7de37551f55acf908f8bddf30a0f5325a255bb57b0aca"
post_extract() {
rm -r git
mv ../git-$_git_version git
}
pre_build() {
if ! grep -q "^GIT_VER = $_git_version\$" Makefile; then
msg_error "$pkgver: update _git_version to match upstream Makefile.\n"
fi
}
do_build() {
make CC=$CC CFLAGS="$CFLAGS" prefix=/usr ${makejobs} all doc-man
}
do_install() {
make CC=$CC CFLAGS="$CFLAGS" prefix=/usr DESTDIR=${DESTDIR} \
CGIT_SCRIPT_PATH=/usr/share/webapps/cgit install install-man