blob: 26c085dd40978322103622f884aa4e0b2de06ba5 (
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
|
# $Id: PKGBUILD 111619 2014-05-21 02:55:23Z thestinger $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Alexander Fehr <pizzapunk gmail com>
# Contributor: Xilon <xilonmu@gmail.com>
pkgname=powertop
pkgver=2.6
pkgrel=1
pkgdesc='A tool to diagnose issues with power consumption and power management'
arch=('i686' 'x86_64')
url='https://01.org/powertop/'
license=('GPL2')
depends=('gcc-libs' 'libnl' 'ncurses' 'pciutils')
changelog=$pkgname.changelog
source=(https://01.org/sites/default/files/downloads/powertop/$pkgname-$pkgver.tar.gz)
sha256sums=('3024c2b13c8f32cdac0b0ea9359eb5668dc9bd11776cf063481daa878533d1ee')
build() {
cd $pkgname
./autogen.sh
./configure --prefix=/usr --sbindir=/usr/bin
make
}
package() {
cd $pkgname
make DESTDIR="$pkgdir" install
}
|