summaryrefslogtreecommitdiff
path: root/repo/core/git.xibuild
blob: 899d9ea415db97ba4e9365d5aa268270cd432832 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

DEPS=(curl perl openssl pcre2 grep shadow zlib)

SOURCE=https://www.kernel.org/pub/software/scm/git/git-2.34.1.tar.xz
DESC="The free and open source, distributed version control system"

build () {
    ./configure --prefix=/usr \
            --with-gitconfig=/etc/gitconfig \
            --with-python=python3 &&
    make
    make man
    make perllibdir=/usr/lib/perl5/5.34/site_perl DESTDIR=$PKG_DEST install
    make DESTDIR=$PKG_DEST install-man

}