Date: Monday, April 2, 2018 @ 21:48:06 Author: anatolik Revision: 320861
archrelease: copy trunk to testing-x86_64 Added: hwloc/repos/testing-x86_64/ hwloc/repos/testing-x86_64/PKGBUILD (from rev 320860, hwloc/trunk/PKGBUILD) ----------+ PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) Copied: hwloc/repos/testing-x86_64/PKGBUILD (from rev 320860, hwloc/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2018-04-02 21:48:06 UTC (rev 320861) @@ -0,0 +1,40 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Stéphane Gaudreault <steph...@archlinux.org> +# Contributor: Sylvain HENRY <hsy...@yahoo.fr> +# Contributor: Hervé YVIQUEL <ellde...@gmail.com> + +pkgname=hwloc +pkgver=1.11.10 +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=('numactl' 'libtool' 'libsystemd') +makedepends=('cairo' 'libxml2' 'pciutils' 'systemd') +optdepends=('cairo' 'libxml2' 'pciutils') +options=('!docs') +source=(https://www.open-mpi.org/software/hwloc/v1.11/downloads/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('2be808383d8337846fe77ce49c7ad3336fb6857505494d85c0ac03f22c5bd1e7') + +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: