cgit: restore old paths
This commit is contained in:
parent
83cb2d0097
commit
50d09501fc
1 changed files with 12 additions and 5 deletions
|
@ -2,7 +2,12 @@
|
||||||
_git_version=2.25.0
|
_git_version=2.25.0
|
||||||
pkgname=cgit
|
pkgname=cgit
|
||||||
version=1.2.2
|
version=1.2.2
|
||||||
revision=1
|
revision=2
|
||||||
|
make_build_args="
|
||||||
|
prefix=/usr
|
||||||
|
NO_REGEX=NeedsStartEnd
|
||||||
|
CGIT_DATA_PATH=/usr/share/webapps/cgit
|
||||||
|
CGIT_SCRIPT_PATH=/usr/libexec/cgit"
|
||||||
hostmakedepends="asciidoc"
|
hostmakedepends="asciidoc"
|
||||||
makedepends="libressl-devel zlib-devel"
|
makedepends="libressl-devel zlib-devel"
|
||||||
checkdepends="perl"
|
checkdepends="perl"
|
||||||
|
@ -27,8 +32,8 @@ pre_build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make NO_REGEX=NeedsStartEnd CC=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
|
make CC=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
|
||||||
prefix=/usr ${makejobs} all doc-man
|
${makejobs} ${make_build_args} all doc-man
|
||||||
}
|
}
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
|
@ -36,6 +41,8 @@ do_check() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
make NO_REGEX=NeedsStartEnd CC=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
|
make CC=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
|
||||||
prefix=/usr DESTDIR=${DESTDIR} install install-man
|
DESTDIR=${DESTDIR} ${make_build_args} install install-man
|
||||||
|
|
||||||
|
ln -s /usr/libexec/cgit/cgit.cgi ${DESTDIR}/usr/share/webapps/cgit/cgit.cgi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue