diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 6 deletions
@@ -1,11 +1,10 @@ pkgbase = passt-git pkgdesc = Plug A Simple Socket Transport - pkgver = r895.310bdbd + pkgver = 20230329.b10b983.r16.g1a3ade9 pkgrel = 1 url = https://passt.top/passt/about/ arch = x86_64 - license = AGPL3 - license = custom:BSD-3-Clause + license = GPL2 makedepends = git depends = glibc provides = passt @@ -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)" ) } |