[arch-commits] Commit in libgit2/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Lukas Fleischer lfleischer at archlinux.org
Wed Feb 19 17:23:33 UTC 2020


    Date: Wednesday, February 19, 2020 @ 17:23:33
  Author: lfleischer
Revision: 375882

archrelease: copy trunk to staging-x86_64

Added:
  libgit2/repos/staging-x86_64/
  libgit2/repos/staging-x86_64/PKGBUILD
    (from rev 375881, libgit2/trunk/PKGBUILD)

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Copied: libgit2/repos/staging-x86_64/PKGBUILD (from rev 375881, libgit2/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-02-19 17:23:33 UTC (rev 375882)
@@ -0,0 +1,39 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: David Runge <dvzrv at archlinux.org>
+# Contributor: Hilton Medeiros <medeiros.hilton at gmail.com>
+# Contributor: Dave Reisner <d at falconindy.com>
+
+pkgname=libgit2
+pkgver=0.99.0
+pkgrel=1
+epoch=1
+pkgdesc='A linkable library for Git'
+arch=('x86_64')
+url="https://libgit2.github.com/"
+depends=('glibc' 'http-parser' 'libssh2' 'openssl' 'zlib')
+makedepends=('cmake' 'python')
+provides=('libgit2.so')
+license=('GPL2')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/libgit2/libgit2/archive/v${pkgver}.tar.gz")
+sha256sums=('174024310c1563097a6613a0d3f7539d11a9a86517cd67ce533849065de08a11')
+
+build() {
+  cd "$pkgname-$pkgver"
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_BUILD_TYPE=Release \
+        -B build \
+        -S .
+  make -C build VERBOSE=1
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  make -C build test VERBOSE=1
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make -C build DESTDIR="$pkgdir" install
+  install -vDm 644 {AUTHORS,README.md} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+}



More information about the arch-commits mailing list