summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSam Whited2020-03-07 09:35:51 -0500
committerSam Whited2020-03-07 09:35:51 -0500
commit9890f0004e35af7d3a26c064ab92ec8976ad7118 (patch)
treeaa535882c9dee9e0afba72e5251b5306a3714cfb /PKGBUILD
parentdbf58df4179583764b4aa900b4d36c514eccd749 (diff)
downloadaur-9890f0004e35af7d3a26c064ab92ec8976ad7118.tar.gz
Embed version number in built file
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8b1cbd483c2..62b68835644 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=writefreely
pkgver=0.11.2
-pkgrel=2
+pkgrel=3
pkgdesc='Federated blogging from write.as'
arch=('x86_64')
url='https://writefreely.org/'
@@ -42,7 +42,7 @@ build() {
make all
cd ../
- GO111MODULE=on make build
+ GO111MODULE=on make GOLDFLAGS="-ldflags=\"-X 'github.com/writeas/writefreely.softwareVer=${pkgver}-arch-${pkgrel}' -extldflags '\$(LDFLAGS)'\"" build
}
package() {