desktop/powertop/PKGBUILD
2012-05-12 18:30:27 +00:00

30 lines
663 B
Bash

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
pkgname=powertop
pkgver=2.0
pkgrel=1
pkgdesc="Tool that finds the software that makes your laptop use more power than necessary"
arch=('i686' 'x86_64')
url="https://01.org/powertop/"
license=('GPL2')
depends=('ncurses' 'libnl')
categories=('utils')
source=(https://01.org/powertop/sites/default/files/downloads/$pkgname-$pkgver.tar.bz2)
md5sums=('8f27e2b0bf1c68b1f5a9a98294238bb2')
build() {
cd ${srcdir}/powertop-$pkgver
./autogen.sh
./configure --prefix=/usr
make
}
package() {
cd ${srcdir}/powertop-$pkgver
make DESTDIR=${pkgdir} install
}