desktop/powertop/PKGBUILD
2015-11-11 11:56:54 +01:00

26 lines
728 B
Bash

pkgname=powertop
pkgver=2.8
pkgrel=1
pkgdesc="Tool that finds the software that makes your laptop use more power than necessary"
arch=('x86_64')
url="https://01.org/powertop"
license=('GPL2')
depends=('gcc-libs' 'libnl' 'ncurses' 'pciutils')
categories=('utils')
screenshot=('https://01.org/powertop/sites/default/files/resize/users/u8/powertop20_overview-640x381.png')
source=("https://01.org/sites/default/files/downloads/powertop/${pkgname}-${pkgver}.tar.gz")
sha256sums=('a87b563f73106babfa3e74dcf92f252938c061e309ace20a361358bbfa579c5a')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./autogen.sh
./configure --prefix=/usr
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}