Skip to content

Commit

Permalink
fix: aur sources archive content
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Dec 25, 2024
1 parent 07a1f88 commit cb85470
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -235,22 +235,15 @@ aur_sources:
private_key: "{{ .Env.AUR_KEY }}"
git_url: "ssh://[email protected]/nfpm.git"
build: |-
cd "${pkgname}-${pkgver}"
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
go build -ldflags="-w -s -buildid='' -linkmode=external -X main.version=v${pkgver}" ./cmd/nfpm
ls -alF
chmod +x "./${pkgname}"
package: |-
cd "${pkgname}-${pkgver}"
ls -alF
# Bin
install -Dsm755 "./${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
Expand Down

0 comments on commit cb85470

Please sign in to comment.