summaryrefslogtreecommitdiff
path: root/repo/devel/git.xibuild
blob: 4cf143fb1c5f458f7d2b398aba8103e1124c337e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

MAKEDEPS="grep python make xmlto"
DEPS="curl perl libressl pcre2 grep shadow zlib openssh"

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

build () {
    ./configure --prefix=/usr \
            --with-gitconfig=/etc/gitconfig \
            --with-python=python3 &&
    make
}

package () {
    make perllibdir=/usr/lib/perl5/5.34/site_perl DESTDIR=$PKG_DEST install
}