### this file is sourced not run
PKGVER=2.41.0
PKGBUILD=1
PKGARCH=x86_64

PERL_VER=5.36

# source: BLFS 11.3 updated to BLFS SVN r980
TARBALL=git-$PKGVER.tar.xz
MD5SUM=c1f58a12b891ad73927b8e4a3aa29c7b
SRC_URL=https://www.kernel.org/pub/software/scm/git/$TARBALL
BUNDLE=

SLACKREQ='curl expat openssl libpcre2'
SLACKDESC="git: git $PKGVER (Source code management)  
git:  
git: Git is a free and open source, distributed version control system 
git: designed to handle everything from small to very large projects with 
git: speed and efficiency. Every Git clone is a full-fledged repository with 
git: complete history and full revision tracking capabilities, not dependent 
git: on network access or a central server. Branching and merging are fast and 
git: easy to do. Git is used for version control of files, much like tools 
git: such as Mercurial, Bazaar, Subversion-1.8.1, CVS-1.11.23, Perforce, and 
git: Team Foundation Server.  
git:
"
SLACKSUG='tk python perl'

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
#	return 1
	CONFFLAGS="$CONFFLAGS \
		--with-gitconfig=/etc/gitconfig \
		--libexecdir=/usr/$LIBDIR/git \
		--with-python=python3 \
		--with-libpcre2 \
	" &&
	
	pkg_build_autoconf &&
	make perllibdir=/usr/lib/perl5/$PERL_VER/site_perl install &&

	### docs - we don't build, we use original
	# make html man && 
	# make install-man install-html docdir=/usr/share/doc/git-$PKGVER &&

	pkg_build_slackdesc
}


