mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 05:36:38 +02:00
30 lines
759 B
Text
30 lines
759 B
Text
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
pkgname=acpi
|
|
pkgver=1.8
|
|
pkgrel=0
|
|
pkgdesc="ACPI client for battery, power, and thermal readings"
|
|
url="https://sourceforge.net/projects/acpiclient/files/acpiclient/"
|
|
arch="all"
|
|
options="!check" # No test suite.
|
|
license="GPL-2.0-or-later"
|
|
subpackages="$pkgname-doc"
|
|
source="https://downloads.sourceforge.net/acpiclient/acpi-$pkgver.tar.gz"
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
b1f8da4ece480a7bbeb04f214950c169970b7171ffa3531aec58d55bd6a1ca0de68587b35e7379a2fa643f8863617d82da2e70af70ad4b5a175d4d8f8312a3e6 acpi-1.8.tar.gz
|
|
"
|