Browse Source

fix PKGBUILD

Hyper-KVM 4 years ago
parent
commit
9cb8537425
1 changed files with 2 additions and 2 deletions
  1. 2 2
      package/PKGBUILD

+ 2 - 2
package/PKGBUILD

@@ -18,12 +18,12 @@ sha256sums=('SKIP')
 #}
 
 build() {
-  cd $pkgname-$pkgver
+  cd "${srcdir}/throttled/"
   python -m compileall *.py
 }
 
 package() {
-  cd throttled-$pkgver
+  cd "${srcdir}/throttled/"
   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