[arch-commits] Commit in throttled/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri May 28 14:22:00 UTC 2021
Date: Friday, May 28, 2021 @ 14:22:00
Author: felixonmars
Revision: 949807
archrelease: copy trunk to community-any
Added:
throttled/repos/community-any/PKGBUILD
(from rev 949806, throttled/trunk/PKGBUILD)
Deleted:
throttled/repos/community-any/PKGBUILD
----------+
PKGBUILD | 74 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 37 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-28 14:21:41 UTC (rev 949806)
+++ PKGBUILD 2021-05-28 14:22:00 UTC (rev 949807)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Kenneth Endfinger <kaendfinger at gmail.com>
-
-pkgname=throttled
-pkgver=0.9.1
-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=("https://github.com/erpalma/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('0552ed08d2cdb27a6f2aa8dd65d2beeff5fb82e95d77f19dfe6ac6963a584bc28301051c6141b47a292577178e1a40ac38e761c6727cb6225b32275c1a712a36')
-
-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 949806, throttled/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-28 14:22:00 UTC (rev 949807)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Kenneth Endfinger <kaendfinger at gmail.com>
+
+pkgname=throttled
+pkgver=0.9.2
+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=("https://github.com/erpalma/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('6ae2912bcc97f79b7aaf779a7f35054e78962641cbfe0841e952eefff2bb09729913e777a2e4cbe6747b095b3a935a4599eecfec024ec19f01848961fd5ca5b3')
+
+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