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

pkgname='owobot-bin'
pkgver=0.0.9
pkgrel=1
pkgdesc='Your server's guardian and entertainer'
url='https://gitea.elara.ws/owobot/owobot'
arch=('aarch64' 'armv6h' 'i686' 'x86_64')
license=('AGPLv3')
provides=('owobot')
conflicts=('owobot')
backup=('etc/owobot/config.toml')

source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://gitea.elara.ws/owobot/owobot/releases/download/v0.0.9/owobot_0.0.9_linux_arm64.tar.gz")
sha256sums_aarch64=('5b98b42d2f9b4ef3032269fe6d2c9c9b2af2098d1e8960d4e0f39d773f352beb')

source_armv6h=("${pkgname}_${pkgver}_armv6h.tar.gz::https://gitea.elara.ws/owobot/owobot/releases/download/v0.0.9/owobot_0.0.9_linux_armv6.tar.gz")
sha256sums_armv6h=('e5039b3e6d0f4def3901df36cc9808daa849d6dffc9634a2beda9b2b5841a91a')

source_i686=("${pkgname}_${pkgver}_i686.tar.gz::https://gitea.elara.ws/owobot/owobot/releases/download/v0.0.9/owobot_0.0.9_linux_386.tar.gz")
sha256sums_i686=('442600386fd4d4d52fb91bfa31bab723814bd7d49890b94e4cf576c6b500e239')

source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://gitea.elara.ws/owobot/owobot/releases/download/v0.0.9/owobot_0.0.9_linux_amd64.tar.gz")
sha256sums_x86_64=('e607d17288e050e8b41d3ed77340964b69abef386dbc98ea3b89f387a19aded7')

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

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

  # services
  install -Dm644 ./owobot.service "${pkgdir}/etc/systemd/system/owobot.service"
}