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

pkgname='linux-user-repository-bin'
pkgver=0.1.3
pkgrel=1
pkgdesc='Linux User REpository'
url='https://lure.sh'
arch=('aarch64' 'armv6h' 'i686' 'x86_64')
license=('GPLv3')
provides=('linux-user-repository')
conflicts=('linux-user-repository')
depends=('sudo' 'pacman')
optdepends=('aria2: for downloading torrent sources')

source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://gitea.elara.ws/lure/lure/releases/download/v0.1.3/lure-0.1.3-linux-aarch64.tar.gz")
sha256sums_aarch64=('aa65f0e86391395a00e3c4effb70587db422e3bce3958fadb575aa8d85833760')

source_armv6h=("${pkgname}_${pkgver}_armv6h.tar.gz::https://gitea.elara.ws/lure/lure/releases/download/v0.1.3/lure-0.1.3-linux-arm.tar.gz")
sha256sums_armv6h=('53aacbcd1e46528fb35b4bfd35c9f9669e151cd7beabed7494334a666c967a99')

source_i686=("${pkgname}_${pkgver}_i686.tar.gz::https://gitea.elara.ws/lure/lure/releases/download/v0.1.3/lure-0.1.3-linux-i386.tar.gz")
sha256sums_i686=('a228f557cae2b352129fd8edfa05e6459bb3adfaf4cacd6a7f9fb1ad6f1ebddf')

source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://gitea.elara.ws/lure/lure/releases/download/v0.1.3/lure-0.1.3-linux-x86_64.tar.gz")
sha256sums_x86_64=('9e4af18629f951c78e16b1cc7abb49d6a42a920ebb7abf23240c765eedb945f2')

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

  # completions
  install -Dm755 ./scripts/completion/bash ${pkgdir}/usr/share/bash-completion/completions/lure
  install -Dm755 ./scripts/completion/zsh ${pkgdir}/usr/share/zsh/site-functions/_lure
}