blob: 8e4db13af2a1afdad0db9475cb2362f3cbb14059 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
# Co-Maintainer: Slimbook <dev at slimbook dot es>
pkgname=slimbookintelcontroller
pkgver=1.0beta
pkgrel=2
pkgdesc="Application for the performance management of Intel processors"
arch=('any')
url="https://github.com/slimbook/slimbookintelcontroller"
license=('GPL-3.0-or-later')
depends=(
'gtk3'
'intel-undervolt'
'libayatana-appindicator'
'libnotify'
'mokutil'
'pciutils'
'python-dbus'
'python-gobject'
'python-pillow'
'systemd-libs'
)
install="$pkgname.install"
source=("https://launchpad.net/~slimbook/+archive/ubuntu/slimbook/+files/${pkgname}_${pkgver}_all.deb")
sha256sums=('d0d031f4313d6bc5aae420406af8b796610f311171fb2410febf6090876acc57')
package() {
bsdtar xf data.tar.zst -C "$pkgdir"
# App permissions
chmod +x "$pkgdir/usr/lib/systemd/system-sleep/$pkgname"
# Remove invalid Python 3.8 bytecode
find "$pkgdir/usr/share/$pkgbase/src/" -type d -name "__pycache__" -prune -exec rm -rf {} \;
}
|