mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
32 lines
744 B
Bash
32 lines
744 B
Bash
#
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer Francesco Marinucci <franzmari[at]chakra-project[dot]it>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=acpi
|
|
pkgver=1.7
|
|
pkgrel=1
|
|
pkgdesc="Linux ACPI client providing battery, AC power, and thermal readings"
|
|
arch=('x86_64')
|
|
url="http://sourceforge.net/projects/acpiclient"
|
|
depends=('glibc')
|
|
license=('GPL2')
|
|
categories=('utils')
|
|
source=("http://downloads.sourceforge.net/acpiclient/$pkgname-$pkgver.tar.gz")
|
|
md5sums=('b52ce4ca39bbf7000a1c2de8879f1dcb')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|