mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-27 18:20:07 +00:00
22 lines
606 B
Plaintext
Executable File
22 lines
606 B
Plaintext
Executable File
# description : Version control system designed to handle everything from small to very large projects with speed and efficiency
|
|
# depends : curl openssl perl python3
|
|
|
|
name=git
|
|
version=2.43.0
|
|
release=1
|
|
source="https://www.kernel.org/pub/software/scm/$name/$name-$version.tar.xz"
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
make CFLAGS="$CFLAGS" \
|
|
prefix=/usr \
|
|
gitexecdir=/usr/lib/git-core \
|
|
perllibdir="$(/usr/bin/perl -MConfig -wle 'print $Config{installvendorlib}')" \
|
|
DESTDIR=$PKG install
|
|
|
|
mkdir -p $PKG/usr/share/git/
|
|
install -m644 ./contrib/completion/git-prompt.sh $PKG/usr/share/git/git-prompt.sh
|
|
|
|
}
|