# 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 }