mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
27 lines
758 B
Bash
27 lines
758 B
Bash
|
#
|
||
|
# Chakra Packages for Chakra, part of chakra-project.org
|
||
|
#
|
||
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||
|
|
||
|
# include global config
|
||
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||
|
|
||
|
pkgname=powertop
|
||
|
pkgver=1.13
|
||
|
pkgrel=1
|
||
|
pkgdesc="Tool that finds the software that makes your laptop use more power than necessary"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://www.lesswatts.org/projects/powertop/"
|
||
|
license=('GPL2')
|
||
|
depends=('ncurses')
|
||
|
source=(http://www.lesswatts.org/projects/powertop/download/$pkgname-$pkgver.tar.gz)
|
||
|
md5sums=('78aa17c8f55178004223bf236654298e')
|
||
|
|
||
|
build() {
|
||
|
cd ${srcdir}/powertop-$pkgver
|
||
|
|
||
|
make || return 1
|
||
|
make DESTDIR=${pkgdir} install
|
||
|
}
|