summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6f81ee03728a..0dda12675129 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,11 +3,11 @@
_pkgname=passt
pkgname=passt-git
pkgdesc='Plug A Simple Socket Transport'
-pkgver=r895.310bdbd
+pkgver=20230329.b10b983.r16.g1a3ade9
pkgrel=1
arch=('x86_64')
url='https://passt.top/passt/about/'
-license=('AGPL3' 'custom:BSD-3-Clause')
+license=('GPL2' 'custom:BSD-3-Clause')
source=('git+https://passt.top/passt')
sha256sums=('SKIP')
depends=('glibc')
@@ -19,7 +19,7 @@ pkgver() {
cd "$_pkgname"
(
set -o pipefail
- git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
+ git describe --tags --long 2>/dev/null | sed -e 's/_//g' -e 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
}