summaryrefslogtreecommitdiff
path: root/extra/numactl/PKGBUILD
blob: cab5ca58c38b0ea0417516ea47779e157611a68f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Dan McGee <dan@archlinux.org>
# Contributor: Florian Zeitz <florob at babelmonkeys dot de>

pkgname=numactl
pkgver=2.0.8
pkgrel=1
pkgdesc="Simple NUMA policy support"
arch=('i686' 'x86_64')
url="http://oss.sgi.com/projects/libnuma/"
license=('LGPL2.1' 'GPL2')
depends=('perl')
source=(ftp://oss.sgi.com/www/projects/libnuma/download/$pkgname-${pkgver/_/-}.tar.gz)
sha1sums=('f7bf06caea29669992fd3540a4c864a32615b5a1')

build() {
  cd "$srcdir/$pkgname-${pkgver/_/-}"
  make
}

package() {
  cd "$srcdir/$pkgname-${pkgver/_/-}"
  make prefix="$pkgdir/usr" libdir="$pkgdir/usr/lib" install
  rmdir $pkgdir/usr/share/man/man2
}