🔒 Repository is read-only – file editing is disabled.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
pkgname: git
pkgver: '2.55.0'
pkgrel: '1'
pkgdesc: 'Distributed version control system designed to handle small to very large projects.'
url: 'https://git-scm.com/'
arch: x86_64
depends: []
makedepends:
- gettext
- python
source:
- 'https://mirrors.edge.kernel.org/pub/software/scm/${pkgname}/${pkgname}-${pkgver}.tar.xz'
- 'https://mirrors.edge.kernel.org/pub/software/scm/${pkgname}/${pkgname}-manpages-${pkgver}.tar.xz'
- 'https://mirrors.edge.kernel.org/pub/software/scm/${pkgname}/${pkgname}-htmldocs-${pkgver}.tar.xz'
sha256sums:
- SKIP
- SKIP
- SKIP
build: |
cd ${pkgname}-${pkgver}
./configure --prefix=/usr \
--libexecdir=/usr/lib \
--with-gitconfig=/etc/gitconfig \
--with-python=python3 --with-libpcre2
NO_RUST=1 make
NO_RUST=1 make DESTDIR=${PKGDIR} install
mkdir -p ${PKGDIR}/usr/share/man
cd ..
# man pages i docs sa w OSOBNYCH tarballach (git-manpages, git-htmldocs)
cp -a man1 man5 man7 ${PKGDIR}/usr/share/man/ 2>/dev/null || true
mkdir -p ${PKGDIR}/usr/share/doc/${pkgname}
for f in *
do
case "$f" in man1|man5|man7|*.tar.xz|*.tar.gz|*.tgz) continue;; esac
cp -a "$f" ${PKGDIR}/usr/share/doc/${pkgname}/
done
chown -R root:root ${PKGDIR}/usr/share/{man,doc}
find ${PKGDIR}/usr/share/doc/${pkgname} -type d -exec chmod 755 {} \;
find ${PKGDIR}/usr/share/doc/${pkgname} -type f -exec chmod 644 {} \;
package: |
true