Commit d87d989 1 parent cf9e795 commit d87d989 Copy full SHA for d87d989
File tree 1 file changed +0
-7
lines changed
1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -235,22 +235,15 @@ aur_sources:
235
235
private_key : " {{ .Env.AUR_KEY }}"
236
236
git_url :
" ssh://[email protected] /nfpm.git"
237
237
build : |-
238
- cd "${pkgname}-${pkgver}"
239
-
240
238
export CGO_CPPFLAGS="${CPPFLAGS}"
241
239
export CGO_CFLAGS="${CFLAGS}"
242
240
export CGO_CXXFLAGS="${CXXFLAGS}"
243
241
export CGO_LDFLAGS="${LDFLAGS}"
244
242
export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
245
243
go build -ldflags="-w -s -buildid='' -linkmode=external -X main.version=v${pkgver}" ./cmd/nfpm
246
244
247
- ls -alF
248
245
chmod +x "./${pkgname}"
249
246
package : |-
250
-
251
- cd "${pkgname}-${pkgver}"
252
- ls -alF
253
-
254
247
# Bin
255
248
install -Dsm755 "./${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
256
249
You can’t perform that action at this time.
0 commit comments