#!/usr/bin/bash # JOBoRun : Jwm OpenBox Obarun RUNit # Maintainer : Joe Bo Run # PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname" # Website : https://pozol.eu #-----------------------------------------| DESCRIPTION |--------------------------------------- pkgname=hwloc pkgver=2.9.1 pkgrel=01 pkgdesc='Portable Hardware Locality is a portable abstraction of hierarchical architectures' url='https://www.open-mpi.org/projects/hwloc/' depends=('glibc' 'libtool' 'libpciaccess') makedepends=('cairo' 'libxml2' 'pciutils' 'libx11') optdepends=('cairo' 'libxml2' 'pciutils' 'libx11') #options=('!docs') source=(https://www.open-mpi.org/software/hwloc/v${pkgver%.*}/downloads/${pkgname}-${pkgver}.tar.bz2) build() { cd hwloc-${pkgver} ./configure \ --prefix=/usr \ --sbindir=/usr/bin \ --enable-plugins \ --sysconfdir=/etc 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}" } #---- arch license gpg-key & sha256sums ---- arch=(x86_64) license=('BSD') sha256sums=(7cc4931a20fef457e0933af3f375be6eafa7703fde21e137bfb9685b1409599e) # hwloc-2.9.1.tar.bz2 ## 1e3e06d239d8eccb8c3802c8841b9668488ca3f87e6f48a1a9f017c8123b558e hwloc-2.9.1-01-x86_64.pkg.tar.lz