summaryrefslogtreecommitdiffstats
path: root/abs/extra/irqbalance/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-04-16 19:15:30 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-04-16 19:15:30 (GMT)
commit04e18c0a85934ddcab865fa7cb699ca7725b2e9c (patch)
treedf7ac2572833d75fb92252515dfa43f83e0ad28b /abs/extra/irqbalance/PKGBUILD
parente3907228d688f76e93b56a6052a82d583b59693b (diff)
downloadlinhes_pkgbuild-04e18c0a85934ddcab865fa7cb699ca7725b2e9c.zip
linhes_pkgbuild-04e18c0a85934ddcab865fa7cb699ca7725b2e9c.tar.gz
linhes_pkgbuild-04e18c0a85934ddcab865fa7cb699ca7725b2e9c.tar.bz2
irqbalance: update to 1.0.7. refs #961
Diffstat (limited to 'abs/extra/irqbalance/PKGBUILD')
-rw-r--r--abs/extra/irqbalance/PKGBUILD31
1 files changed, 13 insertions, 18 deletions
diff --git a/abs/extra/irqbalance/PKGBUILD b/abs/extra/irqbalance/PKGBUILD
index 13db8d0..125f2b4 100644
--- a/abs/extra/irqbalance/PKGBUILD
+++ b/abs/extra/irqbalance/PKGBUILD
@@ -2,33 +2,28 @@
# Contributor: Martin Striz <ms@poruba.net>
pkgname=irqbalance
-pkgver=0.56
-pkgrel=1
+pkgver=1.0.7
+pkgrel=2
pkgdesc="IRQ balancing daemon for SMP systems"
arch=('i686' 'x86_64')
-url="http://www.irqbalance.org/"
+url="https://github.com/Irqbalance/irqbalance"
license=('GPL')
-depends=(glib2)
+depends=(glib2 numactl libcap-ng)
makedepends=(pkgconfig)
-backup=(etc/conf.d/irqbalance)
-source=(http://irqbalance.googlecode.com/files/irqbalance-$pkgver.tbz2
- irqbalance.conf.d
- irqbalance.rc.d)
-md5sums=('cd0c4d3b2bb84778a04fc594ad83949a'
- '336c1ee99818f9ecda1687e34c69fd6b'
- 'fb82fc5d267d39110baf720d81282a7c')
+source=(https://github.com/Irqbalance/irqbalance/archive/v${pkgver}.tar.gz
+ irqbalance.service)
+md5sums=('2a7090abab6bba15d632c24f5554e7ae'
+ 'a97ad17dc7df98b81acb500b27f931e5')
build() {
- cd $srcdir/$pkgname-$pkgver
+ cd "$srcdir/$pkgname-$pkgver"
./autogen.sh
- ./configure
+ ./configure --prefix=/usr --sbindir=/usr/bin
make
}
package() {
- cd $srcdir/$pkgname-$pkgver
- install -D -m755 irqbalance $pkgdir/usr/sbin/irqbalance
- install -D -m644 irqbalance.1 $pkgdir/usr/share/man/man1/irqbalance.1
- install -D -m644 ../irqbalance.conf.d $pkgdir/etc/conf.d/irqbalance
- install -D -m755 ../irqbalance.rc.d $pkgdir/etc/rc.d/irqbalance
+ cd "$srcdir/$pkgname-$pkgver"
+ make install DESTDIR="$pkgdir"
+ install -D -m644 ../irqbalance.service "$pkgdir"/usr/lib/systemd/system/irqbalance.service
}