blob: b64d95c8d1ab3855848f92a794ab6bb662db4e22 (
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
|
# PKGBUILD
# Maintainer: Devorlon
pkgname=brightness
pkgver=24.11.0
pkgrel=2
pkgdesc="Adjust monitor brightness using ddcutil"
arch=('x86_64')
url="https://gitlab.com/Devorlon/brightness"
license=('AGPLv3')
depends=('ddcutil')
makedepends=('rust')
source=("brightness::git+${url}.git")
md5sums=('SKIP')
build() {
cd "$srcdir/$pkgname"
cargo build --release --locked
}
package() {
cd "$srcdir/$pkgname"
install -Dm755 "target/release/${pkgname}" "${pkgdir}/usr/bin/brightness"
}
|