-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2125f6c
commit 914e160
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Maintainer: zocker_160 <zocker1600 at posteo dot net> | ||
|
||
pkgname=thinkfan-ui | ||
pkgver=0.9 | ||
pkgrel=1 | ||
pkgdesc="A small gui app for Linux to control the fan speed and monitor temps on a ThinkPad" | ||
arch=('x86_64') | ||
url="https://github.com/zocker-160/thinkfan-ui" | ||
license=('GPLv3') | ||
depends=('python3' 'python3-pyqt5' 'lm-sensors' 'policykit-1') | ||
#conflicts=('') | ||
source=("git+https://github.com/zocker-160/thinkfan-ui.git#tag=$pkgver") | ||
sha256sums=('SKIP') | ||
|
||
prerm="prerm" | ||
|
||
build() { | ||
cd $srcdir/$pkgname | ||
# nothing to see here | ||
} | ||
|
||
package() { | ||
cd $srcdir/$pkgname | ||
|
||
install -d -m755 src "$pkgdir"/usr/lib/"$pkgname" | ||
cp -r src/* "$pkgdir"/usr/lib/"$pkgname" | ||
install -D -m755 linux_packaging/assets/thinkfan-ui -t "$pkgdir"/usr/bin | ||
install -D -m644 linux_packaging/assets/thinkfan-ui.svg -t "$pkgdir"/usr/share/icons/hicolor/scalable/apps | ||
install -D -m644 linux_packaging/assets/thinkfan-ui.desktop -t "$pkgdir"/usr/share/applications | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#! /bin/bash | ||
|
||
find /usr/lib/thinkfan-ui -type f -iname \*.pyc -delete | ||
find /usr/lib/thinkfan-ui -type d -iname __pycache__ -delete |