Skip to content

Commit

Permalink
feat: compile flags, chore: update version
Browse files Browse the repository at this point in the history
  • Loading branch information
sdip15fa committed May 19, 2023
1 parent c0deb43 commit 84d3384
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .SRCINFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgbase = nordvpn-git
pkgdesc = NordVPN client for Linux (Git version)
pkgver = r34.9319a81
pkgver = r53.6986e6d
pkgrel = 1
url = https://github.com/NordSecurity/nordvpn-linux
install = nordvpn-git.install
Expand Down
7 changes: 6 additions & 1 deletion PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pkgname=nordvpn-git
pkgver=r34.9319a81
pkgver=r53.6986e6d
pkgrel=1
pkgdesc="NordVPN client for Linux (Git version)"
arch=('x86_64' 'arm64')
Expand All @@ -25,6 +25,11 @@ prepare() {
build() {
cd "${pkgname}"
cp .env.sample .env
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
export GOFLAGS="-trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
mage
mage build:binaries
}
Expand Down

0 comments on commit 84d3384

Please sign in to comment.