summaryrefslogtreecommitdiff
path: root/extra/numactl/PKGBUILD
blob: f2fd9311c727b2a30d29b1de6cda2e856acff8c8 (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.7
pkgrel=2.1
pkgdesc="Simple NUMA policy support"
arch=('i686' 'x86_64' 'mips64el')
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=('dfdf539da65d1e880f04202071c139c4d2ba2da9')

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
}