2021-07-31 09:40:41 +00:00
|
|
|
pkgver=2.32.0
|
2021-01-02 18:08:43 +00:00
|
|
|
pkgname=git
|
|
|
|
pkgrel=1
|
2021-09-11 08:24:20 +00:00
|
|
|
mkdeps="zlib-ng-dev:curl-dev:gmake"
|
|
|
|
deps="zlib-ng:curl"
|
2021-01-02 18:08:43 +00:00
|
|
|
bad="gmake"
|
|
|
|
ext="doc"
|
|
|
|
|
|
|
|
fetch() {
|
2021-07-31 09:40:41 +00:00
|
|
|
curl "https://mirrors.edge.kernel.org/pub/software/scm/git/git-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.xz
|
2021-01-02 18:08:43 +00:00
|
|
|
tar -xf $pkgname-$pkgver.tar.xz
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $pkgname-$pkgver
|
2021-09-11 08:24:20 +00:00
|
|
|
# gmake NO_PERL=1 NO_REGEX=NeedsStartEnd NO_TCLTK=1 NO_MSGFMT_EXTENDED_OPTIONS=1 prefix=/usr gitexecdir=lib/gitcore INSTALL_SYMLINKS=1
|
|
|
|
gmake NO_REGEX=NeedsStartEnd NO_TCLTK=1 NO_MSGFMT_EXTENDED_OPTIONS=1 prefix=/usr gitexecdir=lib/gitcore INSTALL_SYMLINKS=1
|
2021-01-02 18:08:43 +00:00
|
|
|
# Need to run twice for it to work ¯\_(ツ)_/¯
|
|
|
|
# Some issue with `msgfmt` 'cause I'm using gettext-tiny but idk why it works on the second run
|
2021-09-11 08:24:20 +00:00
|
|
|
# gmake NO_PERL=1 NO_REGEX=NeedsStartEnd NO_TCLTK=1 NO_MSGFMT_EXTENDED_OPTIONS=1 prefix=/usr gitexecdir=lib/gitcore INSTALL_SYMLINKS=1
|
|
|
|
gmake NO_REGEX=NeedsStartEnd NO_TCLTK=1 NO_MSGFMT_EXTENDED_OPTIONS=1 prefix=/usr gitexecdir=lib/gitcore INSTALL_SYMLINKS=1
|
2021-01-02 18:08:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $pkgname-$pkgver
|
2021-09-11 08:24:20 +00:00
|
|
|
# gmake NO_PERL=1 NO_REGEX=NeedsStartEnd NO_TCLTK=1 NO_MSGFMT_EXTENDED_OPTIONS=1 install prefix=/usr gitexecdir=lib/gitcore DESTDIR=$pkgdir INSTALL_SYMLINKS=1
|
|
|
|
gmake NO_REGEX=NeedsStartEnd NO_TCLTK=1 NO_MSGFMT_EXTENDED_OPTIONS=1 install prefix=/usr gitexecdir=lib/gitcore DESTDIR=$pkgdir INSTALL_SYMLINKS=1
|
2021-01-02 18:08:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package_doc() {
|
2021-09-11 08:24:20 +00:00
|
|
|
# gmake NO_PERL=1 NO_REGEX=NeedsStartEnd NO_TCLTK=1 NO_MSGFMT_EXTENDED_OPTIONS=1 install-man prefix=/usr DESTDIR=$pkgdir INSTALL_SYMLINKS=1
|
|
|
|
gmake NO_REGEX=NeedsStartEnd NO_TCLTK=1 NO_MSGFMT_EXTENDED_OPTIONS=1 install-man prefix=/usr DESTDIR=$pkgdir INSTALL_SYMLINKS=1
|
2021-01-02 18:08:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
license() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
cat COPYING
|
|
|
|
}
|