Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -279,17 +279,17 @@ aur_sources:
depends:
- glibc
prepare: |-
cd "${pkgname}_${pkgver}"
cd "${srcdir}"
go mod download
build: |-
cd "${pkgname}_${pkgver}"
cd "${srcdir}"
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 fontget/internal/version.Version=${pkgver}" -o fontget .
package: |-
cd "${pkgname}_${pkgver}"
cd "${srcdir}"
install -Dm755 ./fontget "${pkgdir}/usr/bin/fontget"
commit_msg_template: "Update to {{ .Tag }}"
commit_msg_template: "Update to {{ .Tag }}"
Loading