summaryrefslogtreecommitdiff
path: root/extra/numactl/PKGBUILD
blob: 0565cdc0873b25e6b87ca6a1845b0a6149286eaf (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
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=('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
}