summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Lühne2019-01-17 20:24:55 +0100
committerPatrick Lühne2019-01-17 20:24:55 +0100
commita403e7952cbe442f404a7b9b0262e2e72c1a288f (patch)
tree9be340580c80a9affc404d9022abd981b5cd5dd4
parentbf0f89dd6ed13f07abd28dc0a80ada42f6320ee3 (diff)
downloadaur-a403e7952cbe442f404a7b9b0262e2e72c1a288f.tar.gz
Remove binary name suffix
Vampire’s Makefile uses Git commands to obtain the branch and revision number of the working tree. These commands return empty results when executed in the release archives downloaded from GitHub. However, when distributed through AUR, these commands accidentally report the branch and revision of this very AUR repository, leading to an unexpected binary name suffix. This patch overrides the variables holding the branch name and revision number with empty values to ensure that the compiled Vampire binary always has the expected file name.
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9f6d9f034463..c2183fe71400 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,7 +11,7 @@ sha512sums=('732de52ad7dcb39c111edb596c1c915922e88c55d0c2f4c108a111fa1fe13e54eea
build() {
cd "${pkgname}-${pkgver}"
- make vampire_rel
+ make vampire_rel BRANCH= COM_CNT=
}
package() {