mirror of
https://github.com/erpalma/throttled.git
synced 2025-12-06 07:01:59 +01:00
Performing renaming from lenovo_fix to throttled on ArchLinux.
This resolves #287
This commit is contained in:
parent
6cb79fce7a
commit
90cdcaa2d4
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
pkgname=throttled
|
pkgname=throttled
|
||||||
pkgver=0.6
|
pkgver=0.7
|
||||||
pkgrel=4
|
pkgrel=4
|
||||||
pkgdesc="Workaround for Intel throttling issues in Linux."
|
pkgdesc="Workaround for Intel throttling issues in Linux."
|
||||||
arch=('any')
|
arch=('any')
|
||||||
|
|
@ -9,7 +9,7 @@ license=('MIT')
|
||||||
depends=('python-dbus' 'python-psutil' 'python-gobject')
|
depends=('python-dbus' 'python-psutil' 'python-gobject')
|
||||||
conflicts=('lenovo-throttling-fix-git' 'lenovo-throttling-fix')
|
conflicts=('lenovo-throttling-fix-git' 'lenovo-throttling-fix')
|
||||||
replaces=('lenovo-throttling-fix')
|
replaces=('lenovo-throttling-fix')
|
||||||
backup=('etc/lenovo_fix.conf')
|
backup=('etc/throttled.conf')
|
||||||
source=("git+https://github.com/Hyper-KVM/throttled.git#branch=openrc")
|
source=("git+https://github.com/Hyper-KVM/throttled.git#branch=openrc")
|
||||||
sha256sums=('SKIP')
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
|
|
@ -21,10 +21,10 @@ build() {
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${srcdir}/throttled/"
|
cd "${srcdir}/throttled/"
|
||||||
install -Dm644 etc/lenovo_fix.conf "$pkgdir"/etc/lenovo_fix.conf
|
install -Dm644 etc/throttled.conf "$pkgdir"/etc/throttled.conf
|
||||||
install -Dm644 systemd/lenovo_fix.service "$pkgdir"/usr/lib/systemd/system/lenovo_fix.service
|
install -Dm644 systemd/throttled.service "$pkgdir"/usr/lib/systemd/system/throttled.service
|
||||||
install -Dm755 lenovo_fix.py "$pkgdir"/usr/lib/$pkgname/lenovo_fix.py
|
install -Dm755 throttled.py "$pkgdir"/usr/lib/$pkgname/throttled.py
|
||||||
install -Dm755 openrc/lenovo_fix "$pkgdir/etc/init.d/lenovo_fix"
|
install -Dm755 openrc/throttled "$pkgdir/etc/init.d/throttled"
|
||||||
install -Dm755 mmio.py "$pkgdir"/usr/lib/$pkgname/mmio.py
|
install -Dm755 mmio.py "$pkgdir"/usr/lib/$pkgname/mmio.py
|
||||||
cp -a __pycache__ "$pkgdir"/usr/lib/$pkgname/
|
cp -a __pycache__ "$pkgdir"/usr/lib/$pkgname/
|
||||||
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue