aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEinhard Leichtfuß <alguien@respiranto.de>2022-04-29 23:48:11 +0200
committerEinhard Leichtfuß <alguien@respiranto.de>2022-04-29 23:48:11 +0200
commit90dc244303eac42ad37c1f3b43f4d3cbb9b91c1c (patch)
tree8b1ce86c15b0c203b741cf95b05046d894347783 /src
parent02d41a2cbb899393c866c1c16cd6b0686f9cc4f1 (diff)
Simplify $pkgver handlingHEADmaster
Always set $_pkgver. - And set it first. (Derive $pkgver off it.) - Usually same as $pkgver.
Diffstat (limited to 'src')
-rw-r--r--src/sample.PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sample.PKGBUILD b/src/sample.PKGBUILD
index 6abe992..f22a6f0 100644
--- a/src/sample.PKGBUILD
+++ b/src/sample.PKGBUILD
@@ -5,8 +5,8 @@
_lang=%LANG%
pkgname="dict-freedict-${_lang}"
-pkgver=%VER%
-_pkgver="${pkgver//_/-}"
+_pkgver=%VER%
+pkgver="${_pkgver//-/_}"
pkgrel=1
pkgdesc="%LANG_A% -> %LANG_B% dictionary for dictd et al. from FreeDict.org"
arch=('any')