[arch-commits] Commit in tpacpi-bat/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Fri Nov 9 20:59:51 UTC 2018


    Date: Friday, November 9, 2018 @ 20:59:50
  Author: foutrelis
Revision: 404482

archrelease: copy trunk to community-staging-any

Added:
  tpacpi-bat/repos/community-staging-any/
  tpacpi-bat/repos/community-staging-any/PKGBUILD
    (from rev 404481, tpacpi-bat/trunk/PKGBUILD)

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

Copied: tpacpi-bat/repos/community-staging-any/PKGBUILD (from rev 404481, tpacpi-bat/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-11-09 20:59:50 UTC (rev 404482)
@@ -0,0 +1,22 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Frederik Schwan <frederik dot schwan at linux dot com>
+# Contributor: Vojtěch Aschenbrenner <v at asch.cz>
+
+pkgname=tpacpi-bat
+pkgver=3.1
+pkgrel=2
+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
+}



More information about the arch-commits mailing list