2022-03-20 13:34:07 +01:00
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
2022-05-24 13:01:48 +02:00
# Maintainer : Joe Bo Run <joborun@disroot.org>
2022-03-20 13:34:07 +01:00
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
2022-05-24 13:01:48 +02:00
# Website : https://pozol.eu
2022-03-20 13:34:07 +01:00
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname = numactl
pkgver = 2.0.14
2022-05-24 13:01:48 +02:00
pkgrel = 03
2022-03-20 13:34:07 +01:00
pkgdesc = "Simple NUMA policy support"
arch = ( x86_64)
groups = ( jobbot )
# url="http://oss.sgi.com/projects/libnuma/" ## Joborun note: This is false, sgi.com has not existed since 2014 when its last bankrupt remains were obtained by receivers of debt.
## Instead the author is an ex-employee and a few contributors, but the initial 2.0 SGI code is still under the code. The url is false though, surprisingly nobody in Arch has noticed for 7 years.
depends = ( glibc)
provides = ( libnuma.so)
2022-05-24 13:01:48 +02:00
#options=(!debug) # uncomment this to produce the debug pkg
2022-03-20 13:34:07 +01:00
source = ( " https://github.com/numactl/numactl/releases/download/v ${ pkgver } / ${ pkgname } - ${ pkgver } .tar.gz " )
prepare( ) {
cd " ${ pkgname } - ${ pkgver } "
autoreconf -fiv
}
build( ) {
cd " ${ pkgname } - ${ pkgver } "
./configure --prefix= /usr
make
}
check( ) {
cd " ${ pkgname } - ${ pkgver } "
make -k test -C $pkgname -$pkgver || echo "Tests known to fail depending on system load."
}
package( ) {
make DESTDIR = " $pkgdir " install -C $pkgname -$pkgver
2022-05-24 13:01:48 +02:00
install -vDm 644 $pkgname -$pkgver /README.md -t " $pkgdir /usr/share/doc/ $pkgname / "
2022-03-20 13:34:07 +01:00
# move_pages(2) is provided by man-pages and is more up-to-date there anyway
rm -rf " $pkgdir /usr/share/man/man2 "
}
#---- license gpg-key sha256sums ----
license = ( 'LGPL2.1' 'GPL2' )
sha256sums = ( 826bd148c1b6231e1284e42a4db510207747484b112aee25ed6b1078756bcff6) # numactl-2.0.14.tar.gz
2022-05-24 13:01:48 +02:00