jobextra/hwloc/PKGBUILD
2023-02-25 19:17:37 +02:00

50 lines
1.3 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=hwloc
pkgver=2.9.0
pkgrel=01
pkgdesc='Portable Hardware Locality is a portable abstraction of hierarchical architectures'
url='https://www.open-mpi.org/projects/hwloc/'
arch=('x86_64')
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}"
}
#---- license gpg-key sha256sums ----
license=('BSD')
sha256sums=(2070e963596a2421b9af8eca43bdec113ee1107aaf7ccb475d4d3767a8856887) # hwloc-2.9.0.tar.bz2
## 46a024661f9078e7b31b9a25246c5d0378d47594ef5bb1492e6334b2b8af60cb hwloc-2.9.0-01-x86_64.pkg.tar.lz