new pkg: git-2.44.0
This commit is contained in:
commit
75e6cfaa09
32
dev/git-2.44.0.PKGBUILD
Normal file
32
dev/git-2.44.0.PKGBUILD
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
pkgname="git"
|
||||||
|
pkgver="2.44.0"
|
||||||
|
pkgdesc="A fast distributed version control system"
|
||||||
|
homepage="https://git-scm.com/"
|
||||||
|
license=("GPL2")
|
||||||
|
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||||
|
urls=("https://www.kernel.org/pub/software/scm/git/git-2.44.0.tar.xz")
|
||||||
|
md5sums=("7e4eb7c45e9ba7c90fa51deeea49732f")
|
||||||
|
|
||||||
|
distdir=${DIST_DIR}/${pkgname}-${pkgver}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1
|
||||||
|
}
|
||||||
|
|
||||||
|
src_check(){
|
||||||
|
SHELL=/bin/sh \
|
||||||
|
make \
|
||||||
|
NO_SVN_TESTS=y \
|
||||||
|
GIT_TEST_OPTS="--root=/dev/shm/git-test" \
|
||||||
|
test
|
||||||
|
}
|
||||||
|
|
||||||
|
src_build() {
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--with-gitconfig=/etc/gitconfig \
|
||||||
|
--with-python=python3 &&
|
||||||
|
make &&
|
||||||
|
src_check &&
|
||||||
|
make perllibdir=/usr/lib/perl5/5.38/site_perl DESTDIR="$pkgdir" install
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user