[arch-commits] Commit in tpacpi-bat/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Nov 16 17:30:05 UTC 2019
Date: Saturday, November 16, 2019 @ 17:30:05
Author: felixonmars
Revision: 529638
archrelease: copy trunk to community-any
Added:
tpacpi-bat/repos/community-any/PKGBUILD
(from rev 529637, tpacpi-bat/trunk/PKGBUILD)
Deleted:
tpacpi-bat/repos/community-any/PKGBUILD
----------+
PKGBUILD | 45 +++++++++++++++++++++++----------------------
1 file changed, 23 insertions(+), 22 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-16 17:29:58 UTC (rev 529637)
+++ PKGBUILD 2019-11-16 17:30:05 UTC (rev 529638)
@@ -1,22 +0,0 @@
-# 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
-}
Copied: tpacpi-bat/repos/community-any/PKGBUILD (from rev 529637, tpacpi-bat/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-11-16 17:30:05 UTC (rev 529638)
@@ -0,0 +1,23 @@
+# 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=3
+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')
+backup=(etc/conf.d/tpacpi)
+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