fix: fixed compile issues and added build steps
This commit is contained in:
@@ -34,6 +34,41 @@ archives:
|
||||
- LICENSE
|
||||
- README.md
|
||||
|
||||
nfpms:
|
||||
- id: pgtidy
|
||||
package_name: pgtidy
|
||||
vendor: Warky Devs
|
||||
homepage: https://git.warky.dev/wdevs/pgtidy
|
||||
maintainer: Hein (Warky Devs) <hein@warky.dev>
|
||||
description: PostgreSQL SQL formatter and linter
|
||||
license: MIT
|
||||
formats:
|
||||
- deb
|
||||
- rpm
|
||||
- apk
|
||||
bindir: /usr/bin
|
||||
contents:
|
||||
- src: LICENSE
|
||||
dst: /usr/share/licenses/pgtidy/LICENSE
|
||||
|
||||
aurs:
|
||||
- name: pgtidy-bin
|
||||
homepage: https://git.warky.dev/wdevs/pgtidy
|
||||
description: PostgreSQL SQL formatter and linter
|
||||
maintainers:
|
||||
- Hein (Warky Devs) <hein@warky.dev>
|
||||
license: MIT
|
||||
private_key: "{{ .Env.AUR_SSH_KEY }}"
|
||||
git_url: ssh://aur@aur.archlinux.org/pgtidy-bin.git
|
||||
skip_upload: auto
|
||||
provides:
|
||||
- pgtidy
|
||||
conflicts:
|
||||
- pgtidy
|
||||
package: |-
|
||||
install -Dm755 "./pgtidy" "${pkgdir}/usr/bin/pgtidy"
|
||||
install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/pgtidy/LICENSE"
|
||||
|
||||
checksum:
|
||||
name_template: "checksums.txt"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user