Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,22 +1,29 @@
# Maintainer: Paul Dunn <pwjdunn AT gmail DOT com>

pkgname=numad-git
pkgver=0.5
_pkgname=numad
pkgver=r20.abd1802
pkgrel=1
pkgdesc="numad is a deamon that monitors NUMA topology and usage and distributes loads for good locality for the purpose of providing the best performance, by avoiding unnecessary latency."
arch=('x86_64' 'i686')
license=('LGPL')
url="https://git.fedorahosted.org/git/numad.git"
url="https://pagure.io/numad.git"
options=()
depends=('cmake' 'libsystemd' 'git')
source=("git+https://git.fedorahosted.org/git/numad.git")
depends=('libsystemd')
makedepends=('cmake' 'git')
source=("git+https://pagure.io/numad.git")
md5sums=('SKIP')

build() {
cd "$srcdir/numad"
cd "${srcdir}/${_pkgname}"
make
}

pkgver() {
cd "${srcdir}/${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
install -Dm755 $srcdir/numad/numad "$pkgdir/usr/bin/numad"
install -Dm644 $srcdir/numad/numad.8 $pkgdir/usr/share/man/man8
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# NUMA package for Archlinux AUR
# numad is a deamon that monitors NUMA topology and usage and distributes loads for good locality for the purpose of providing the best performance, by avoiding unnecessary latency.
# source: https://git.fedorahosted.org/git/numad.git
# source: https://pagure.io/numad