summaryrefslogtreecommitdiff
path: root/extra/irqbalance/PKGBUILD
blob: 886c0ff0d94e768cff4887de183ab0add71706a9 (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
26
27
28
# Maintainer: Dan McGee <dan@archlinux.org>
# Contributor: Martin Striz <ms@poruba.net>

pkgname=irqbalance
pkgver=1.0.5
pkgrel=2
pkgdesc="IRQ balancing daemon for SMP systems"
arch=('i686' 'x86_64' 'mips64el')
url="http://code.google.com/p/irqbalance"
license=('GPL')
depends=(glib2 numactl libcap-ng)
makedepends=(pkgconfig)
source=(http://irqbalance.googlecode.com/files/irqbalance-$pkgver.tar.gz
        irqbalance.service)
md5sums=('b6403fa067c96adce448a48c9993654d'
         'a97ad17dc7df98b81acb500b27f931e5')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr --sbindir=/usr/bin
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make install DESTDIR="$pkgdir"
  install -D -m644 ../irqbalance.service "$pkgdir"/usr/lib/systemd/system/irqbalance.service
}