Skip to content

Commit fd9f6ea

Browse files
committed
chore: fix aur_sources configuration
1 parent 55507d1 commit fd9f6ea

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

.goreleaser.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -125,23 +125,16 @@ aur_sources:
125125
- go
126126
- git
127127
prepare: |-
128-
cd "${pkgname}_${pkgver}"
129128
go mod download
130129
build: |-
131-
cd "${pkgname}-${pkgver#v}"
132-
133130
export CGO_CPPFLAGS="${CPPFLAGS}"
134131
export CGO_CFLAGS="${CFLAGS}"
135132
export CGO_CXXFLAGS="${CXXFLAGS}"
136133
export CGO_LDFLAGS="${LDFLAGS}"
137134
export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
138135
go build -ldflags="-w -s -buildid='' -linkmode=external -X main.version=v${pkgver}" .
139136
140-
ls -alF
141137
chmod +x "./${pkgname}"
142138
package: |-
143-
cd "${pkgname}-${pkgver#v}"
144-
ls -alF
145-
146139
# Bin
147140
install -Dsm755 "./${pkgname}" "${pkgdir}/usr/bin/${pkgname}"

0 commit comments

Comments
 (0)