summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c5f35328ada66afa170a7099c1501efdd86f253a (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: Gabe Cook <gabe565@gmail.com>

pkgname='castsponsorskip-bin'
pkgver=0.8.0
pkgrel=1
pkgdesc='Skip YouTube ads and sponsorships on all local Google Cast devices'
url='https://github.com/gabe565/CastSponsorSkip'
arch=('aarch64' 'armv7h' 'x86_64')
license=('GPL-3.0')
provides=('castsponsorskip')
conflicts=('castsponsorskip')

source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/gabe565/CastSponsorSkip/releases/download/v0.8.0/castsponsorskip_0.8.0_linux_arm64.tar.gz")
sha256sums_aarch64=('c8a53a46b8e0dee680e18c3a5d9a03a950ddcd3304e4e93e2181d837ba8e2af7')

source_armv7h=("${pkgname}_${pkgver}_armv7h.tar.gz::https://github.com/gabe565/CastSponsorSkip/releases/download/v0.8.0/castsponsorskip_0.8.0_linux_armv7.tar.gz")
sha256sums_armv7h=('e2aa4f95b35eea0fb51afd9bdbd41be7e3d2e377805e3853f339069f5c8d49e0')

source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/gabe565/CastSponsorSkip/releases/download/v0.8.0/castsponsorskip_0.8.0_linux_amd64.tar.gz")
sha256sums_x86_64=('a4398c7cdafbdd98ec83c213f3ac1205d014090ec6f3f90823276415f7fd0f49')

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