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

David Runge dvzrv at archlinux.org
Thu Aug 8 17:56:29 UTC 2019


    Date: Thursday, August 8, 2019 @ 17:56:29
  Author: dvzrv
Revision: 359331

archrelease: copy trunk to extra-x86_64

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

----------+
 PKGBUILD |   87 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 44 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-08 17:56:24 UTC (rev 359330)
+++ PKGBUILD	2019-08-08 17:56:29 UTC (rev 359331)
@@ -1,43 +0,0 @@
-# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: David Runge <dave at sleepmap.de>
-
-pkgname=libgit2-glib
-pkgver=0.28.0.1
-pkgrel=1
-pkgdesc="GLib wrapper for libgit2"
-url="https://wiki.gnome.org/Projects/Libgit2-glib"
-license=('LGPL2.1')
-arch=('x86_64')
-depends=('glib2' 'libgit2')
-makedepends=('gobject-introspection' 'gtk-doc' 'meson' 'python-gobject' 'vala')
-source=("https://gitlab.gnome.org/gnome/${pkgname}/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz")
-sha256sums=('f180c3030b33930133b2dd66aecf64ec354433c603323da810ff84f542243350')
-
-prepare() {
-  mv -v "${pkgname}-v${pkgver}" "${pkgname}-${pkgver}"
-}
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  arch-meson build -D gtk_doc=true
-  ninja -C build
-}
-
-check() {
-  cd "${pkgname}-${pkgver}"
-  meson test -C build
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  local py_ver=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
-  DESTDIR="$pkgdir" meson install -C build
-  # strip $pkgdir from embedded paths:
-  python -m compileall -d "/usr/lib/python${py_ver}" \
-    "${pkgdir}/usr/lib/python${py_ver}"
-  python -O -m compileall -d "/usr/lib/python${py_ver}" \
-    "${pkgdir}/usr/lib/python${py_ver}"
-  install -vDm 644 {AUTHORS,ChangeLog,NEWS,README} \
-    -t "${pkgdir}/usr/share/doc/${pkgname}"
-}

Copied: libgit2-glib/repos/extra-x86_64/PKGBUILD (from rev 359330, libgit2-glib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-08 17:56:29 UTC (rev 359331)
@@ -0,0 +1,44 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: David Runge <dave at sleepmap.de>
+
+pkgname=libgit2-glib
+pkgver=0.28.0.1
+pkgrel=2
+pkgdesc="GLib wrapper for libgit2"
+url="https://wiki.gnome.org/Projects/Libgit2-glib"
+license=('LGPL2.1')
+arch=('x86_64')
+depends=('glib2' 'libgit2')
+makedepends=('gobject-introspection' 'gtk-doc' 'meson' 'python-gobject' 'vala')
+provides=('libgit2-glib-1.0.so')
+source=("https://gitlab.gnome.org/gnome/${pkgname}/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz")
+sha256sums=('f180c3030b33930133b2dd66aecf64ec354433c603323da810ff84f542243350')
+
+prepare() {
+  mv -v "${pkgname}-v${pkgver}" "${pkgname}-${pkgver}"
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  arch-meson build -D gtk_doc=true
+  ninja -C build
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  meson test -C build
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  local py_ver=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
+  DESTDIR="$pkgdir" meson install -C build
+  # strip $pkgdir from embedded paths:
+  python -m compileall -d "/usr/lib/python${py_ver}" \
+    "${pkgdir}/usr/lib/python${py_ver}"
+  python -O -m compileall -d "/usr/lib/python${py_ver}" \
+    "${pkgdir}/usr/lib/python${py_ver}"
+  install -vDm 644 {AUTHORS,ChangeLog,NEWS,README} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+}


More information about the arch-commits mailing list