blob: efec60709e0e7720335eee55dda95f6e5791b250 (
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
29
30
31
|
# $Id: PKGBUILD 78981 2012-10-28 15:59:46Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Alexander Fehr <pizzapunk gmail com>
# Contributor: Xilon <xilonmu@gmail.com>
pkgname=powertop
pkgver=2.1.1
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=($pkgname-$pkgver.tar.gz::https://github.com/fenrus75/powertop/tarball/v2.1.1)
#https://01.org/powertop/sites/default/files/downloads/$pkgname-$pkgver.tar.gz)
sha256sums=('e925230cc9006dbc226aec4dea389b97a0f906a7997b33aca40a1d6bc7568dc4')
build() {
cd ${srcdir}/*-$pkgname-*
./autogen.sh
./configure --prefix=/usr
make
}
package() {
cd ${srcdir}/*-$pkgname-*
make DESTDIR=${pkgdir} install
}
|