[arch-commits] Commit in hwloc/repos (3 files)

Anatol Pomozov anatolik at archlinux.org
Tue Nov 19 15:49:47 UTC 2019


    Date: Tuesday, November 19, 2019 @ 15:49:47
  Author: anatolik
Revision: 369434

archrelease: copy trunk to testing-x86_64

Added:
  hwloc/repos/testing-x86_64/
  hwloc/repos/testing-x86_64/PKGBUILD
    (from rev 369433, hwloc/trunk/PKGBUILD)
  hwloc/repos/testing-x86_64/fix_completion_dir.patch
    (from rev 369433, hwloc/trunk/fix_completion_dir.patch)

--------------------------+
 PKGBUILD                 |   48 +++++++++++++++++++++++++++++++++++++++++++++
 fix_completion_dir.patch |   13 ++++++++++++
 2 files changed, 61 insertions(+)

Copied: hwloc/repos/testing-x86_64/PKGBUILD (from rev 369433, hwloc/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2019-11-19 15:49:47 UTC (rev 369434)
@@ -0,0 +1,48 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Sylvain HENRY <hsyl20 at yahoo.fr>
+# Contributor: Hervé YVIQUEL <elldekaa at gmail.com>
+
+pkgname=hwloc
+pkgver=2.1.0
+pkgrel=1
+pkgdesc='Portable Hardware Locality is a portable abstraction of hierarchical architectures'
+url='https://www.open-mpi.org/projects/hwloc/'
+arch=('x86_64')
+license=('BSD')
+depends=('libtool' 'systemd-libs' 'libpciaccess')
+makedepends=('cairo' 'libxml2' 'pciutils' 'systemd')
+optdepends=('cairo' 'libxml2' 'pciutils')
+options=('!docs')
+source=(https://www.open-mpi.org/software/hwloc/v${pkgver%.*}/downloads/${pkgname}-${pkgver}.tar.bz2
+        fix_completion_dir.patch)
+sha256sums=('19429752f772cf68321196970ffb10dafd7e02ab38d2b3382b157c78efd10862'
+            '3487e1f7819eba4131ae70140a624f0fff6ec9761ed3944eb6beebdf73f5147f')
+
+prepare() {
+  cd hwloc-${pkgver}
+  patch -p1 < ../fix_completion_dir.patch
+  autoconf -f -i
+}
+
+build() {
+  cd hwloc-${pkgver}
+  ./configure \
+    --prefix=/usr \
+    --sbindir=/usr/bin \
+    --enable-plugins
+  make
+}
+
+check() {
+  cd hwloc-${pkgver}
+  make check
+}
+
+package() {
+  cd hwloc-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:

Copied: hwloc/repos/testing-x86_64/fix_completion_dir.patch (from rev 369433, hwloc/trunk/fix_completion_dir.patch)
===================================================================
--- testing-x86_64/fix_completion_dir.patch	                        (rev 0)
+++ testing-x86_64/fix_completion_dir.patch	2019-11-19 15:49:47 UTC (rev 369434)
@@ -0,0 +1,13 @@
+diff --git a/Makefile.am b/Makefile.am
+index 089dcc7a..dae7aba3 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -56,7 +56,7 @@ endif HWLOC_BUILD_STANDALONE
+ # Only install the valgrind suppressions file if we're building in
+ # standalone mode
+ if HWLOC_BUILD_STANDALONE
+-bashcompdir = $(sysconfdir)/bash_completion.d
++bashcompdir = /usr/share/bash-completion/completions
+ dist_bashcomp_DATA = contrib/completion/hwloc-completion.bash
+ dist_pkgdata_DATA = contrib/hwloc-valgrind.supp
+ dist_doc_DATA = contrib/misc/dynamic_SVG_example.html



More information about the arch-commits mailing list