33 lines
1.3 KiB
Bash
33 lines
1.3 KiB
Bash
#!/bin/sh
|
|
name="git"
|
|
short_desc="Source code management tool"
|
|
desc="Git is a free and open source distributed version control system designed to
|
|
handle everything from small to very large projects with speed and efficiency."
|
|
category="devel"
|
|
version="2.43.0"
|
|
maintainer="ffqq@danwin1210.de"
|
|
www="https://git-scm.com/"
|
|
master_site="https://mirrors.edge.kernel.org/pub/software/scm/git/"
|
|
source_name="$name-$version.tar.gz"
|
|
license_logic="single" # accepted values: single, and, or
|
|
licenses=("GPLv2")
|
|
|
|
build_dependencies=("devel/gmake" "lang/gcc" "devel/gettext" "ftp/curl" "lang/python3" "lang/perl5" "textproc/expat")
|
|
run_dependencies=("system/glibc" "devel/gettext" "ftp/curl" "lang/python3" "lang/perl5" "textproc/expat")
|
|
|
|
build_process() {
|
|
cd $name-$version
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libexecdir=/usr/lib \
|
|
--with-perl \
|
|
--with-python=python3 \
|
|
--without-openssl \
|
|
--with-curl || exit 1
|
|
make -j$(nproc)
|
|
make DESTDIR=$TAMANDUA_STAGE_DIR install
|
|
curl -O https://mirrors.edge.kernel.org/pub/software/scm/git/git-manpages-2.43.0.tar.gz
|
|
mkdir -p $TAMANDUA_STAGE_DIR/usr/share/man
|
|
tar -xf git-manpages-2.43.0.tar.gz \
|
|
-C $TAMANDUA_STAGE_DIR/usr/share/man --no-same-owner
|
|
} |