summaryrefslogtreecommitdiffstats
path: root/abs/extra/numactl/PKGBUILD
blob: 532e145ba8673f50331c091f55ce0582c92d7429 (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
25
# Maintainer: Dan McGee <dan@archlinux.org>
# Contributor: Florian Zeitz <florob at babelmonkeys dot de>

pkgname=numactl
pkgver=2.0.9
pkgrel=2
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=('7231abc8f49e805225858ac08d801ade722f0b94')

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

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