Skip to content
Snippets Groups Projects
Commit 358827eb authored by kpcyrd's avatar kpcyrd
Browse files

- reproducible builds

parent 17d8f1fe
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
pkgname=wallutils
pkgver=5.9.0
pkgrel=2
pkgrel=3
pkgdesc='Utilities for handling resolutions, wallpapers and timed wallpapers'
arch=(x86_64)
url='https://github.com/xyproto/wallutils'
......@@ -15,7 +15,7 @@ options=(!strip)
sha256sums=('SKIP')
prepare() {
sed -i 's/go build/go build -mod=vendor -buildmode=pie -gcflags "all=-trimpath=$$PWD" -asmflags "all=-trimpath=$$PWD" -ldflags "-s -w -extldflags $$LDFLAGS"/g' $pkgname/Makefile
sed -i 's/go build/go build -mod=vendor -buildmode=pie -trimpath -ldflags "-s -w -extldflags $$LDFLAGS"/g' $pkgname/Makefile
}
build() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment