🔒 Repository is read-only – file editing is disabled.
12345678910111213141516171819202122232425262728293031323334353637383940
pkgname: libgit2
pkgver: '1.9.7'
pkgrel: '1'
pkgdesc: A linkable library for Git
url: 'https://libgit2.github.com/'
arch: x86_64
license:
- GPL2
depends:
- glibc
- http-parser
- openssl
- pcre2
- zlib
makedepends:
- cmake
- libssh2
- python
- http-parser
source:
- 'https://github.com/libgit2/libgit2/archive/refs/tags/v${pkgver}.tar.gz'
sha256sums:
- 1a4fbe7589e814777ae76b64734ad80f4ecad22cd33a22682a2aaea4ae5375e7
build: |
cd ${pkgname}-${pkgver}
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE='None' \
-DUSE_HTTP_PARSER=system \
-DTHREADSAFE=ON \
-Wno-dev \
..
make VERBOSE=1
make DESTDIR=${PKGDIR} install
install -Dm644 ../COPYING ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING
package: |
true