summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b9a53ff973fd7d59754bd1b7ffd3caf723477ef0 (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
35
36
37
38
39
# Maintainer: FoxlikeCreature <safonovkirill113@gmail.com>
pkgname=caelestia-rgb-sync
pkgver=1.2.2
pkgrel=1
pkgdesc='Sync RGB lighting to caelestia desktop shell accent color'
arch=('any')
url='https://github.com/FoxlikeCreature/caelestia-rgb-sync'
license=('MIT')
depends=(
    'python'
    'python-openrgb'
    'python-tomli-w'
    'inotify-tools'
    'openrgb'
)
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('d273082269b7f5cf3f756060269b40d6295a18b10a096392c779dcaef0d8e519')

package() {
    cd "$pkgname-$pkgver"

    install -Dm755 caelestia-rgb-sync \
        "$pkgdir/usr/bin/caelestia-rgb-sync"

    install -Dm644 systemd/caelestia-rgb.service \
        "$pkgdir/usr/lib/systemd/user/caelestia-rgb.service"

    install -Dm644 systemd/openrgb.service \
        "$pkgdir/usr/lib/systemd/user/openrgb.service"

    install -Dm644 config.example.toml \
        "$pkgdir/usr/share/caelestia-rgb-sync/config.example.toml"

    install -Dm644 LICENSE \
        "$pkgdir/usr/share/licenses/$pkgname/LICENSE"

    install -Dm644 README.md \
        "$pkgdir/usr/share/doc/$pkgname/README.md"
}