Date: Monday, May 29, 2017 @ 15:47:02
  Author: felixonmars
Revision: 230896

addpkg: tpacpi-bat 3.1-1

Added:
  tpacpi-bat/
  tpacpi-bat/repos/
  tpacpi-bat/trunk/
  tpacpi-bat/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

Added: tpacpi-bat/trunk/PKGBUILD
===================================================================
--- tpacpi-bat/trunk/PKGBUILD                           (rev 0)
+++ tpacpi-bat/trunk/PKGBUILD   2017-05-29 15:47:02 UTC (rev 230896)
@@ -0,0 +1,23 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Frederik Schwan <frederik dot schwan at linux dot com>
+# Contributor: Vojtěch Aschenbrenner <v...@asch.cz>
+
+pkgname=tpacpi-bat
+pkgver=3.1
+pkgrel=1
+pkgdesc="A Perl script with ACPI calls for recent ThinkPads (such as T420 and 
W520) whose battery thresholds are not supported by tp_smapi"
+url="https://github.com/teleshoes/tpacpi-bat";
+arch=('any')
+license=('GPL3')
+depends=('perl' 'acpi_call')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/teleshoes/$pkgname/archive/v$pkgver.tar.gz";)
+sha512sums=('cdc9e0c0ded96281678199783b4c48ff85a497c90b244a7ce2276b54d7ae4bfa7eb430214bcdb6fabd7478796507b0fbe7fed4b1ab4bc4cdd7bd5ae25f943a77')
+
+package() {
+  cd $pkgname-$pkgver
+
+  install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
+  install -Dm644 examples/systemd_dynamic_threshold/tpacpi.service 
"$pkgdir"/usr/lib/systemd/system/tpacpi-bat.service
+  install -Dm644 examples/systemd_dynamic_threshold/tpacpi.conf.d 
"$pkgdir"/etc/conf.d/tpacpi
+}

Reply via email to