aboutsummaryrefslogtreecommitdiff
path: root/svn
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 /svn
parent02d41a2cbb899393c866c1c16cd6b0686f9cc4f1 (diff)
Simplify $pkgver handlingHEADmaster
Always set $_pkgver. - And set it first. (Derive $pkgver off it.) - Usually same as $pkgver.
Diffstat (limited to 'svn')
-rw-r--r--svn/sample.PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/svn/sample.PKGBUILD b/svn/sample.PKGBUILD
index a29aaf0..3f49e82 100644
--- a/svn/sample.PKGBUILD
+++ b/svn/sample.PKGBUILD
@@ -6,8 +6,8 @@
_lang=%LANG%
_pkgname="dict-freedict-${_lang}"
pkgname="${_pkgname}-svn"
-pkgver=%VER%
-_pkgver="${pkgver//_/-}"
+_pkgver=%VER%
+pkgver="${_pkgver//-/_}"
pkgrel=2
pkgdesc="%LANG_A% -> %LANG_B% dictionary for dictd et al. from FreeDict.org"
arch=('any')