mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-26 15:52:15 +08:00
29 lines
784 B
Bash
29 lines
784 B
Bash
# Contributor: abveritas@chakra-project.org
|
|
# Maintainer: Bruce Liu <brli@user.sourceforge.net>
|
|
|
|
pkgname=powertop
|
|
pkgver=2.6.1
|
|
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")
|
|
md5sums=('4391e7b0af854ecf722cdf712f24b631')
|
|
|
|
build() {
|
|
cd ${srcdir}/powertop-$pkgver
|
|
./autogen.sh
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/powertop-$pkgver
|
|
|
|
make DESTDIR=${pkgdir} install
|
|
}
|