Skip to content

Instantly share code, notes, and snippets.

@MisterDA
Last active March 30, 2020 22:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MisterDA/69e7fa54ffdcb3f96e5d2be78ad961c9 to your computer and use it in GitHub Desktop.
Save MisterDA/69e7fa54ffdcb3f96e5d2be78ad961c9 to your computer and use it in GitHub Desktop.
From 07fd30f6cdbfb229519e41de48cbda50f8f22fd2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Antonin=20D=C3=A9cimo?= <antonin.decimo@gmail.com>
Date: Tue, 31 Mar 2020 00:12:07 +0200
Subject: [PATCH] Set executable version to pkgver
---
PKGBUILD | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/PKGBUILD b/PKGBUILD
index 72966ca..685a43b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -28,7 +28,7 @@ pkgver() {
build() {
cd "$srcdir/$_pkgname"
- make GOFLAGS=-tags=notmuch PREFIX=/usr
+ make GOFLAGS=-tags=notmuch PREFIX=/usr VERSION="$(pkgver)"
}
package() {
--
2.26.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment