desktop/acpi/PKGBUILD

32 lines
744 B
Bash
Raw Normal View History

#
# Apps Packages for Chakra, part of chakra-project.org
#
2013-12-04 16:50:06 +08:00
# maintainer Francesco Marinucci <franzmari[at]chakra-project[dot]it>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=acpi
2013-12-04 16:50:06 +08:00
pkgver=1.7
2012-09-07 15:02:07 +08:00
pkgrel=1
pkgdesc="Linux ACPI client providing battery, AC power, and thermal readings"
2013-12-04 16:50:06 +08:00
arch=('x86_64')
url="http://sourceforge.net/projects/acpiclient"
depends=('glibc')
license=('GPL2')
categories=('utils')
2012-09-07 15:02:07 +08:00
source=("http://downloads.sourceforge.net/acpiclient/$pkgname-$pkgver.tar.gz")
2013-12-04 16:50:06 +08:00
md5sums=('b52ce4ca39bbf7000a1c2de8879f1dcb')
build() {
2012-09-07 15:02:07 +08:00
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
make
}
2012-09-07 15:02:07 +08:00
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}