[arch-commits] Commit in throttled/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Mon Nov 9 17:27:44 UTC 2020


    Date: Monday, November 9, 2020 @ 17:27:43
  Author: felixonmars
Revision: 747872

archrelease: copy trunk to community-any

Added:
  throttled/repos/community-any/PKGBUILD
    (from rev 747871, throttled/trunk/PKGBUILD)
Deleted:
  throttled/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   74 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 37 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-09 17:27:32 UTC (rev 747871)
+++ PKGBUILD	2020-11-09 17:27:43 UTC (rev 747872)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Kenneth Endfinger <kaendfinger at gmail.com>
-
-pkgname=throttled
-pkgver=0.7
-pkgrel=1
-pkgdesc="Workaround for Intel throttling issues in Linux."
-arch=('any')
-url="https://github.com/erpalma/throttled"
-license=('MIT')
-depends=('python-dbus' 'python-psutil' 'python-gobject')
-conflicts=('lenovo-throttling-fix-git' 'lenovo-throttling-fix')
-replaces=('lenovo-throttling-fix')
-backup=('etc/lenovo_fix.conf')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/erpalma/$pkgname/archive/v$pkgver.tar.gz")
-sha512sums=('abb0d717ccbdc33b30daf026eb1a86a5a885ca1c2f48814d7e9bcf8b21a108ee93803d8c26dfdeb59b612afa9ee0f64d48078e3c5c0bd2236c67d8076de2b1ae')
-
-prepare() {
-  sed -i "s|ExecStart=.*|ExecStart=/usr/lib/$pkgname/lenovo_fix.py|" $pkgname-$pkgver/systemd/lenovo_fix.service
-}
-
-build() {
-  cd $pkgname-$pkgver
-  python -m compileall *.py
-}
-
-package() {
-  cd throttled-$pkgver
-  install -Dm644 etc/lenovo_fix.conf "$pkgdir"/etc/lenovo_fix.conf
-  install -Dm644 systemd/lenovo_fix.service "$pkgdir"/usr/lib/systemd/system/lenovo_fix.service
-  install -Dm755 lenovo_fix.py "$pkgdir"/usr/lib/$pkgname/lenovo_fix.py
-  install -Dm755 mmio.py "$pkgdir"/usr/lib/$pkgname/mmio.py
-  cp -a __pycache__ "$pkgdir"/usr/lib/$pkgname/
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: throttled/repos/community-any/PKGBUILD (from rev 747871, throttled/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-09 17:27:43 UTC (rev 747872)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Kenneth Endfinger <kaendfinger at gmail.com>
+
+pkgname=throttled
+pkgver=0.8
+pkgrel=1
+pkgdesc="Workaround for Intel throttling issues in Linux."
+arch=('any')
+url="https://github.com/erpalma/throttled"
+license=('MIT')
+depends=('python-dbus' 'python-gobject')
+conflicts=('lenovo-throttling-fix-git' 'lenovo-throttling-fix')
+replaces=('lenovo-throttling-fix')
+backup=('etc/lenovo_fix.conf')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/erpalma/$pkgname/archive/v$pkgver.tar.gz")
+sha512sums=('bbefbd6c49c5221ee99857067dfe2013d3d33b4b2a63435c67ebec11d23441b0441513a723bd0d54e7720f329b803086cfde6b53d02bf683eab77da56786e51d')
+
+prepare() {
+  sed -i "s|ExecStart=.*|ExecStart=/usr/lib/$pkgname/lenovo_fix.py|" $pkgname-$pkgver/systemd/lenovo_fix.service
+}
+
+build() {
+  cd $pkgname-$pkgver
+  python -m compileall *.py
+}
+
+package() {
+  cd throttled-$pkgver
+  install -Dm644 etc/lenovo_fix.conf "$pkgdir"/etc/lenovo_fix.conf
+  install -Dm644 systemd/lenovo_fix.service "$pkgdir"/usr/lib/systemd/system/lenovo_fix.service
+  install -Dm755 lenovo_fix.py "$pkgdir"/usr/lib/$pkgname/lenovo_fix.py
+  install -Dm755 mmio.py "$pkgdir"/usr/lib/$pkgname/mmio.py
+  cp -a __pycache__ "$pkgdir"/usr/lib/$pkgname/
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list