PKGBUILDs/extra/irqbalance/PKGBUILD

41 lines
1 KiB
Bash
Raw Normal View History

2014-09-12 13:23:10 +00:00
# Maintainer: Dan McGee <dan@archlinux.org>
# Contributor: Martin Striz <ms@poruba.net>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - removed dependency on numactl
2016-01-08 02:06:58 +00:00
# - AArch64 patch
2014-09-12 13:23:10 +00:00
pkgname=irqbalance
2015-12-15 01:42:26 +00:00
pkgver=1.1.0
2014-09-12 13:23:10 +00:00
pkgrel=1
pkgdesc="IRQ balancing daemon for SMP systems"
arch=('i686' 'x86_64')
2015-12-15 01:42:26 +00:00
url="https://github.com/Irqbalance/irqbalance"
2014-09-12 13:23:10 +00:00
license=('GPL')
2015-12-15 01:42:26 +00:00
depends=('glib2' 'libcap-ng')
source=($pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz
2016-01-08 01:59:12 +00:00
irqbalance.service
irqbalance-fix-aarch64.patch)
2015-12-15 01:42:26 +00:00
md5sums=('b15d975336080bcac4be0c1752d43cf3'
2016-01-08 01:59:12 +00:00
'767061c257b26cc3e3c4a5e462166579'
'e3c0dce43ae1d68274c674ac3f91f250')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
patch -p1 -i ../irqbalance-fix-aarch64.patch
}
2014-09-12 13:23:10 +00:00
build() {
cd "$srcdir/$pkgname-$pkgver"
2014-09-12 13:29:04 +00:00
./autogen.sh
2014-09-12 13:23:10 +00:00
./configure --prefix=/usr --sbindir=/usr/bin
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make install DESTDIR="$pkgdir"
2015-12-15 01:42:26 +00:00
install -D -m644 ../irqbalance.service \
"$pkgdir"/usr/lib/systemd/system/irqbalance.service
2014-09-12 13:23:10 +00:00
}