mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
30 lines
766 B
Bash
30 lines
766 B
Bash
# Contributor: abveritas@chakra-project.org
|
|
# Maintainer: Bruce Liu <brli@user.sourceforge.net>
|
|
|
|
pkgname=powertop
|
|
pkgver=2.5
|
|
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=("${url}/sites/default/files/downloads/${pkgname}-${pkgver}.tar.gz")
|
|
md5sums=('806bbcbd44fcea1f807c9582fc1f7d3e')
|
|
|
|
build() {
|
|
cd ${srcdir}/powertop-$pkgver
|
|
./autogen.sh
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/powertop-$pkgver
|
|
|
|
make DESTDIR=${pkgdir} install
|
|
}
|
|
|