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

David Runge dvzrv at archlinux.org
Thu Aug 8 14:08:48 UTC 2019


    Date: Thursday, August 8, 2019 @ 14:08:47
  Author: dvzrv
Revision: 359323

archrelease: copy trunk to extra-x86_64

Added:
  libgit2/repos/extra-x86_64/PKGBUILD
    (from rev 359322, libgit2/trunk/PKGBUILD)
Deleted:
  libgit2/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   95 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 50 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-08 14:08:42 UTC (rev 359322)
+++ PKGBUILD	2019-08-08 14:08:47 UTC (rev 359323)
@@ -1,45 +0,0 @@
-# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
-# Contributor: David Runge <dave at sleepmap.de>
-# Contributor: Hilton Medeiros <medeiros.hilton at gmail.com>
-# Contributor: Dave Reisner <d at falconindy.com>
-
-pkgname=libgit2
-pkgver=0.28.2
-pkgrel=1
-epoch=1
-pkgdesc='A linkable library for Git'
-arch=('x86_64')
-url="https://libgit2.github.com/"
-depends=('curl' 'http-parser' 'libssh2' 'openssl' 'zlib')
-makedepends=('cmake' 'python')
-license=('GPL2')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/libgit2/libgit2/archive/v${pkgver}.tar.gz"
-        "${pkgname}-0.28.2-online-tests.patch::https://github.com/libgit2/libgit2/pull/5094.patch")
-sha256sums=('42b5f1e9b9159d66d86fff0394215c5733b6ef8f9b9d054cdd8c73ad47177fc3'
-            '0d1d5ceaae10a9dc17894b8f13e957b463e5f5ccde13dc57f19dbc80f5d89de8')
-
-prepare() {
-  cd "$pkgname-$pkgver"
-  mkdir -p build
-  # fix online tests: https://github.com/libgit2/libgit2/pull/5094
-  patch -Np1 -i "../${pkgname}-0.28.2-online-tests.patch"
-}
-
-build() {
-  cd "$pkgname-$pkgver/build"
-  cmake -DCMAKE_INSTALL_PREFIX=/usr \
-        -DCMAKE_BUILD_TYPE=Release \
-        -DTHREADSAFE=ON \
-        ..
-  make VERBOSE=1
-}
-
-check() {
-  cd "$pkgname-$pkgver/build"
-  make test VERBOSE=1
-}
-
-package() {
-  cd "$pkgname-$pkgver/build"
-  make DESTDIR="$pkgdir" install
-}

Copied: libgit2/repos/extra-x86_64/PKGBUILD (from rev 359322, libgit2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-08 14:08:47 UTC (rev 359323)
@@ -0,0 +1,50 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: David Runge <dave at sleepmap.de>
+# Contributor: Hilton Medeiros <medeiros.hilton at gmail.com>
+# Contributor: Dave Reisner <d at falconindy.com>
+
+pkgname=libgit2
+pkgver=0.28.2
+pkgrel=2
+epoch=1
+pkgdesc='A linkable library for Git'
+arch=('x86_64')
+url="https://libgit2.github.com/"
+depends=('http-parser' 'libssh2')
+makedepends=('cmake' 'python')
+provides=('libgit2.so')
+license=('GPL2')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/libgit2/libgit2/archive/v${pkgver}.tar.gz"
+        "${pkgname}-0.28.2-online-tests.patch::https://github.com/libgit2/libgit2/pull/5094.patch")
+sha256sums=('42b5f1e9b9159d66d86fff0394215c5733b6ef8f9b9d054cdd8c73ad47177fc3'
+            '0d1d5ceaae10a9dc17894b8f13e957b463e5f5ccde13dc57f19dbc80f5d89de8')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  mkdir -p build
+  # fix online tests: https://github.com/libgit2/libgit2/pull/5094
+  patch -Np1 -i "../${pkgname}-0.28.2-online-tests.patch"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  (
+    cd build
+    cmake -DCMAKE_INSTALL_PREFIX=/usr \
+          -DCMAKE_BUILD_TYPE=Release \
+          ..
+  )
+  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