summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 70f0b17696d2702b76fd7305a7b508dc3f3ca6d2 (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
40
# This file was generated by GoReleaser. DO NOT EDIT.
# Maintainer: Elara Musayelyan <elara@elara.ws>

pkgname='itd-bin'
pkgver=1.1.0
pkgrel=1
pkgdesc='Companion daemon for the InfiniTime firmware on the PineTime smartwatch'
url='https://gitea.elara.ws/Elara6331/itd'
arch=('aarch64' 'armv7h' 'i686' 'x86_64')
license=('GPLv3')
provides=('itd' 'itctl')
conflicts=('itd' 'itctl')
depends=('dbus' 'bluez')

source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://gitea.elara.ws/Elara6331/itd/releases/download/v1.1.0/itd-1.1.0-linux-aarch64.tar.gz")
sha256sums_aarch64=('d42470c4ef3b3b4690e663e0eb98bf27564364a840c8ace4ffb9fbb4668b0c43')

source_armv7h=("${pkgname}_${pkgver}_armv7h.tar.gz::https://gitea.elara.ws/Elara6331/itd/releases/download/v1.1.0/itd-1.1.0-linux-arm.tar.gz")
sha256sums_armv7h=('5a6b68da41b05e40b53a28a72c1fa296efe3ea28fdea35ab89b0a000fd851080')

source_i686=("${pkgname}_${pkgver}_i686.tar.gz::https://gitea.elara.ws/Elara6331/itd/releases/download/v1.1.0/itd-1.1.0-linux-i386.tar.gz")
sha256sums_i686=('bfa686c2b7169cb809bbe58bf735d94900aca4d53051232ba2f680f44df45d4b')

source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://gitea.elara.ws/Elara6331/itd/releases/download/v1.1.0/itd-1.1.0-linux-x86_64.tar.gz")
sha256sums_x86_64=('8b830a82d97ea9f139ce570e8e640822b7ff6e50ef3fdcdb8df4a81aa6a95524')

package() {
  # binaries
  install -Dm755 ./itd "${pkgdir}/usr/bin/itd"
  install -Dm755 ./itctl "${pkgdir}/usr/bin/itctl"

  # service
  install -Dm644 "./itd.service" ${pkgdir}/usr/lib/systemd/user/itd.service

  # config
  install -Dm644 "./itd.toml" ${pkgdir}/etc/itd.toml

  # license
  install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/itd/LICENSE"
}