blob: bc59803ce695c78f8ab33d90469912ad6dd243c1 (
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
|
# Maintainer: Wilhelm Schuster <aur [aT] rot13 dot io>
pkgname=sctd
pkgver=0.1.2
pkgrel=1
pkgdesc="A Daemon to change the display color temperature based on time of day"
url="https://github.com/amir/sctd"
arch=(x86_64 i686)
license=(custom)
depends=(gcc-libs libx11 libxrandr)
makedepends=(cargo)
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/amir/${pkgname}/archive/v${pkgver}.tar.gz")
sha512sums=('8066d7d51487d667f90c617f041aa423fc046f0401533abf37185c325edf5c49b918aeb34c65e566c15c0e304fc838fec76a50ddf928953980baa5449091ce83')
build() {
cd "$pkgname-$pkgver"
cargo build --release --locked --all-targets
}
package() {
cd "$pkgname-$pkgver"
install -Dm 755 target/release/main -T "${pkgdir}/usr/bin/$pkgname"
install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
|