summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1916f59a4ee0c5adc994067060e43bd53d16f854 (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
pkgname=better-control-git
pkgver=r57.gd505b13  
pkgrel=1
pkgdesc="A tool to manage system settings easily (git version)"
arch=('any')
url="https://github.com/quantumvoid0/better-control"
license=('GPL3')  
depends=('python' 'gtk3' 'networkmanager' 'bluez' 'bluez-utils' 'pipewire-pulse' 'brightnessctl' 'cpupower' 'python-gobject' 'python-pydbus' 'python-psutil' 'gammastep')
makedepends=('git')
provides=('better-control')
conflicts=('better-control')
source=("https://github.com/quantumvoid0/better-control.git")
sha256sums=('SKIP')

pkgver() {
    cd "$srcdir/better-control"
    echo "r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"  # Removed 0.
}

package() {
    cd "$srcdir/better-control"
    
    install -Dm755 src/control.py "$pkgdir/usr/bin/control"
    install -Dm644 src/control.desktop "$pkgdir/usr/share/applications/control.desktop"
}