community/unison: use version suffix _p instead of adding number

This commit is contained in:
Jakub Jirutka 2018-03-10 13:17:03 +01:00
parent c7fed598b1
commit 1e84a70462

View File

@ -2,8 +2,8 @@
# Maintainer: Jean-Louis Fuchs <ganwell@fangorn.ch>
pkgname=unison
# Note: unison breaks compatibility between minor (major.minor) versions.
pkgver=2.48.15.4
_pkgver=${pkgver%.*}v${pkgver##*.}
pkgver=2.48.15_p4
_pkgver=${pkgver/_p/v}
_majorver=${_pkgver%.*} # x.y
pkgrel=0
pkgdesc="Efficient file-synchronization tool"