summaryrefslogtreecommitdiff
path: root/user/acpi/APKBUILD
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2018-08-05 01:09:54 -0400
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-08-06 01:36:58 +0000
commit2b323f1e49adaae1062afd7944caf31dadf3ed7e (patch)
tree5d65f2dd998964b998c7e7042e2930618ebc5c2e /user/acpi/APKBUILD
parentb197330ddfa9d4c39388ee78a30ca112f99bf7e2 (diff)
downloadpackages-2b323f1e49adaae1062afd7944caf31dadf3ed7e.tar.gz
packages-2b323f1e49adaae1062afd7944caf31dadf3ed7e.tar.bz2
packages-2b323f1e49adaae1062afd7944caf31dadf3ed7e.tar.xz
packages-2b323f1e49adaae1062afd7944caf31dadf3ed7e.zip
user/acpi: pull in, fix license
Diffstat (limited to 'user/acpi/APKBUILD')
-rw-r--r--user/acpi/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/acpi/APKBUILD b/user/acpi/APKBUILD
new file mode 100644
index 000000000..8d2b49412
--- /dev/null
+++ b/user/acpi/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Cág <ca6c@bitmessage.ch>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=acpi
+pkgver=1.7
+pkgrel=2
+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+"
+depends=""
+makedepends=""
+subpackages="$pkgname-doc"
+source="http://downloads.sourceforge.net/acpiclient/$pkgname-$pkgver.tar.gz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="e6c96707d651eb20aa4a4c76f78891154d576ccdfaef08b5eff6094b90b62a0e97f6e35a4a996dcc3b5f0b57ee2c60542f41832039c6cbdf853ff3d022c1b609 acpi-1.7.tar.gz"