summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dfee366c20416f0bbf8bb35381e1a4c6b5bf8f80 (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
# This file was generated by GoReleaser. DO NOT EDIT.
# Maintainer: Omri Bornstein <omribor@gmail.com>
# Contributor: Omri Bornstein <omribor@gmail.com>

pkgname='cocainate-bin'
pkgver=1.1.4
pkgrel=1
pkgdesc='Cross-platform caffeinate alternative.'
url='https://github.com/AppleGamer22/cocainate'
arch=('aarch64' 'x86_64')
license=('GPL3')
provides=('cocainate')
conflicts=('cocainate')
depends=('dbus')
optdepends=('bash' 'fish' 'zsh')

source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/AppleGamer22/cocainate/releases/download/v1.1.4/cocainate_1.1.4_linux_arm64.tar.gz")
sha256sums_aarch64=('b7641d96c9dbddc6813d72411b3d965598a4c30a1002f4fb03886bfb884faa71')

source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/AppleGamer22/cocainate/releases/download/v1.1.4/cocainate_1.1.4_linux_amd64.tar.gz")
sha256sums_x86_64=('e1966d787732e84ec1688989298631b5ab7734c10a7ef744189b38237f1614fe')

package() {
  install -Dm755 cocainate "${pkgdir}/usr/bin/cocainate"
  install -Dm644 cocainate.1 "${pkgdir}/usr/share/man/man1/cocainate.1"
  install -Dm644 cocainate.bash "${pkgdir}/usr/share/bash-completion/completions/cocainate"
  install -Dm644 cocainate.fish "${pkgdir}/usr/share/fish/vendor_completions.d/cocainate.fish"
  install -Dm644 cocainate.zsh "${pkgdir}/usr/share/zsh/site-functions/_cocainate"

}