summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ad6da8283a21f91dddbfb16d8919f609f60a2701 (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
# This file was generated by GoReleaser. DO NOT EDIT.
# Maintainer: Gabe Cook <gabe565@gmail.com>

pkgname='domain-watch-bin'
pkgver=0.1.1
pkgrel=1
pkgdesc='Get notified about domain changes as they happen'
url='https://github.com/gabe565/domain-watch'
arch=('aarch64' 'armv6h' 'armv7h' 'x86_64')
license=('GPL-3.0')
provides=('domain-watch')
conflicts=('domain-watch')

source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/gabe565/domain-watch/releases/download/v0.1.1/domain-watch_0.1.1_linux_arm64.tar.gz")
sha256sums_aarch64=('dd3d74c84000963133ebb6df403d49f7cba7bf34cef9bd7b6d9aaff2b3b4e3a9')

source_armv6h=("${pkgname}_${pkgver}_armv6h.tar.gz::https://github.com/gabe565/domain-watch/releases/download/v0.1.1/domain-watch_0.1.1_linux_armv6.tar.gz")
sha256sums_armv6h=('47f59c63d0c709596ae1a5c05a503021a25432fd8420cdf7284a6b7b48ae7e0b')

source_armv7h=("${pkgname}_${pkgver}_armv7h.tar.gz::https://github.com/gabe565/domain-watch/releases/download/v0.1.1/domain-watch_0.1.1_linux_armv7.tar.gz")
sha256sums_armv7h=('70f320999d575cfa6ad13e395b591f013fb9fde12f79af98728bb7284f63f094')

source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/gabe565/domain-watch/releases/download/v0.1.1/domain-watch_0.1.1_linux_amd64.tar.gz")
sha256sums_x86_64=('80c198f141063bc7cc7773d91d1af29fa5fe846244aa6f4ddcc0af601f8600d8')

package() {
  # bin
  install -Dm755 "./domain-watch" "${pkgdir}/usr/bin/domain-watch"
  # license
  install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/domain-watch/LICENSE"
  # man page
  install -Dm644 "./manpages/domain-watch.1.gz" "${pkgdir}/usr/share/man/man1/domain-watch.1.gz"
  # completion
  install -Dm644 "./completions/domain-watch.bash" "${pkgdir}/usr/share/bash-completion/completions/domain-watch"
  install -Dm644 "./completions/domain-watch.zsh" "${pkgdir}/usr/share/zsh/site-functions/_domain-watch"
  install -Dm644 "./completions/domain-watch.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/domain-watch.fish"
  # systemd unit
  install -Dm644 "./systemd/domain-watch.service" "${pkgdir}/usr/lib/systemd/system/domain-watch.service"
}