2022-09-28 23:47:37 +00:00
|
|
|
before:
|
|
|
|
hooks:
|
|
|
|
- go mod tidy
|
|
|
|
builds:
|
|
|
|
- id: lure
|
|
|
|
env:
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
binary: lure
|
2023-10-06 22:13:21 +00:00
|
|
|
ldflags:
|
2023-10-06 22:14:42 +00:00
|
|
|
- -X go.elara.ws/lure/internal/config.Version={{.Version}}
|
2022-09-28 23:47:37 +00:00
|
|
|
goos:
|
|
|
|
- linux
|
|
|
|
goarch:
|
|
|
|
- amd64
|
2022-12-24 22:09:41 +00:00
|
|
|
- 386
|
2022-09-28 23:47:37 +00:00
|
|
|
- arm64
|
2022-12-24 22:09:41 +00:00
|
|
|
- arm
|
2022-09-28 23:47:37 +00:00
|
|
|
- riscv64
|
|
|
|
archives:
|
2023-10-07 21:42:34 +00:00
|
|
|
- name_template: >-
|
|
|
|
{{- .ProjectName}}-
|
2023-10-07 21:32:09 +00:00
|
|
|
{{- .Version}}-
|
|
|
|
{{- .Os}}-
|
|
|
|
{{- if .Arch | eq "amd64"}}x86_64
|
|
|
|
{{- else if .Arch | eq "386"}}i386
|
|
|
|
{{- else if .Arch | eq "arm64"}}aarch64
|
|
|
|
{{- else }}{{ .Arch }}{{ end -}}
|
2023-01-02 04:23:23 +00:00
|
|
|
files:
|
|
|
|
- scripts/completion/*
|
2022-09-28 23:47:37 +00:00
|
|
|
nfpms:
|
|
|
|
- id: lure
|
2022-11-05 23:40:38 +00:00
|
|
|
package_name: linux-user-repository
|
2023-10-07 21:32:09 +00:00
|
|
|
file_name_template: >-
|
|
|
|
{{- .PackageName}}-
|
|
|
|
{{- .Version}}-
|
|
|
|
{{- .Os}}-
|
|
|
|
{{- if .Arch | eq "amd64"}}x86_64
|
|
|
|
{{- else if .Arch | eq "386"}}i386
|
|
|
|
{{- else if .Arch | eq "arm64"}}aarch64
|
|
|
|
{{- else }}{{ .Arch }}{{ end -}}
|
2022-09-28 23:47:37 +00:00
|
|
|
description: "Linux User REpository"
|
2023-10-07 19:12:00 +00:00
|
|
|
homepage: 'https://lure.sh'
|
2023-04-27 05:14:57 +00:00
|
|
|
maintainer: 'Elara Musayelyan <elara@elara.ws>'
|
2022-09-28 23:47:37 +00:00
|
|
|
license: GPLv3
|
|
|
|
formats:
|
|
|
|
- apk
|
|
|
|
- deb
|
2022-11-14 22:25:19 +00:00
|
|
|
- rpm
|
2022-11-27 19:59:23 +00:00
|
|
|
- archlinux
|
2022-11-14 22:25:19 +00:00
|
|
|
provides:
|
2023-02-01 20:00:37 +00:00
|
|
|
- linux-user-repository
|
2022-11-14 22:25:19 +00:00
|
|
|
conflicts:
|
2023-02-01 20:00:37 +00:00
|
|
|
- linux-user-repository
|
2023-07-11 20:14:54 +00:00
|
|
|
recommends:
|
|
|
|
- aria2
|
2022-12-19 02:27:02 +00:00
|
|
|
contents:
|
|
|
|
- src: scripts/completion/bash
|
|
|
|
dst: /usr/share/bash-completion/completions/lure
|
|
|
|
- src: scripts/completion/zsh
|
|
|
|
dst: /usr/share/zsh/site-functions/_lure
|
2022-09-28 23:47:37 +00:00
|
|
|
aurs:
|
2023-01-31 22:16:01 +00:00
|
|
|
- name: linux-user-repository-bin
|
2023-10-07 19:12:00 +00:00
|
|
|
homepage: 'https://lure.sh'
|
2022-09-28 23:47:37 +00:00
|
|
|
description: "Linux User REpository"
|
|
|
|
maintainers:
|
2023-04-27 05:14:57 +00:00
|
|
|
- 'Elara Musayelyan <elara@elara.ws>'
|
2022-09-28 23:47:37 +00:00
|
|
|
license: GPLv3
|
|
|
|
private_key: '{{ .Env.AUR_KEY }}'
|
2023-02-01 20:10:19 +00:00
|
|
|
git_url: 'ssh://aur@aur.archlinux.org/linux-user-repository-bin.git'
|
2022-09-28 23:47:37 +00:00
|
|
|
provides:
|
2023-01-31 22:17:35 +00:00
|
|
|
- linux-user-repository
|
2022-09-28 23:47:37 +00:00
|
|
|
conflicts:
|
2023-01-31 22:17:35 +00:00
|
|
|
- linux-user-repository
|
2022-09-28 23:47:37 +00:00
|
|
|
depends:
|
|
|
|
- sudo
|
|
|
|
- pacman
|
2023-07-11 20:14:54 +00:00
|
|
|
optdepends:
|
|
|
|
- 'aria2: for downloading torrent sources'
|
2022-09-28 23:47:37 +00:00
|
|
|
package: |-
|
|
|
|
# binaries
|
2022-12-19 02:27:02 +00:00
|
|
|
install -Dm755 ./lure "${pkgdir}/usr/bin/lure"
|
|
|
|
|
|
|
|
# completions
|
2023-01-02 04:30:53 +00:00
|
|
|
install -Dm755 ./scripts/completion/bash ${pkgdir}/usr/share/bash-completion/completions/lure
|
|
|
|
install -Dm755 ./scripts/completion/zsh ${pkgdir}/usr/share/zsh/site-functions/_lure
|
2022-09-28 23:47:37 +00:00
|
|
|
release:
|
|
|
|
gitea:
|
2023-10-07 02:16:36 +00:00
|
|
|
owner: lure
|
2022-09-28 23:47:37 +00:00
|
|
|
name: lure
|
|
|
|
gitea_urls:
|
2023-04-27 05:14:57 +00:00
|
|
|
api: 'https://gitea.elara.ws/api/v1/'
|
|
|
|
download: 'https://gitea.elara.ws'
|
2022-09-28 23:47:37 +00:00
|
|
|
skip_tls_verify: false
|
|
|
|
checksum:
|
|
|
|
name_template: 'checksums.txt'
|
|
|
|
snapshot:
|
|
|
|
name_template: "{{ incpatch .Version }}-next"
|
|
|
|
changelog:
|
|
|
|
sort: asc
|