mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
32 lines
750 B
Bash
32 lines
750 B
Bash
#
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer Andrei Nistor <coder[dot]tux[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=acpi
|
|
pkgver=1.6
|
|
pkgrel=1
|
|
pkgdesc="Linux ACPI client providing battery, AC power, and thermal readings"
|
|
arch=('i686' '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=('68d0104a7825c904e3f45de8682cee19')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|