diff --git a/packages/serenity-elaina-git/.SRCINFO b/packages/serenity-elaina-git/.SRCINFO index d7d3c28..2a1f2f3 100644 --- a/packages/serenity-elaina-git/.SRCINFO +++ b/packages/serenity-elaina-git/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = serenity-elaina-git pkgdesc = The configuration generator for sing-box, elaina edition - pkgver = 1.1.0.alpha3.r4.g0a1889c - pkgrel = 2 + pkgver = 1.1.0.alpha4.puqns672.r0.gc0576a3 + pkgrel = 1 url = https://git.puqns67.icu/Puqns67/serenity arch = x86_64 arch = aarch64 diff --git a/packages/serenity-elaina-git/PKGBUILD b/packages/serenity-elaina-git/PKGBUILD index fe51289..2f5f4f3 100644 --- a/packages/serenity-elaina-git/PKGBUILD +++ b/packages/serenity-elaina-git/PKGBUILD @@ -7,8 +7,8 @@ _pkgname='serenity' pkgname="${_pkgname}-elaina-git" -pkgver=1.1.0.alpha3.r4.g0a1889c -pkgrel=2 +pkgver=1.1.0.alpha4.puqns672.r0.gc0576a3 +pkgrel=1 pkgdesc='The configuration generator for sing-box, elaina edition' arch=('x86_64' 'aarch64') url='https://git.puqns67.icu/Puqns67/serenity' @@ -23,7 +23,7 @@ source=("${_pkgname}-elaina"::"git+${url}.git") b2sums=('SKIP') pkgver() { - git -C "${srcdir}/${_pkgname}-elaina" describe --long --tags | sed 's/^v\([0-9\.]\+\)\(-*[0-9\.abcehlprt]*\)-\([0-9]\+\)-g\([0-9a-f]\{7\}\)$/\1\2.r\3.g\4/g' | sed 's/-\(alpha\|beta\|rc\)\./.\1/g' + git -C "${srcdir}/${_pkgname}-elaina" describe --long --tags | sed 's/^v\([0-9\.]\+\)\(.*\?\)-\([0-9]\+\)-g\([0-9a-f]\{7\}\)$/\1\2.r\3.g\4/g' | sed 's/-\(alpha\|beta\|rc\|puqns67\)\./.\1/g' } prepare() { @@ -44,7 +44,7 @@ build() { go build \ -o "${srcdir}/${_pkgname}" \ - -ldflags "-w -s -linkmode external -X github.com/sagernet/serenity/constant.Version=${pkgver}" \ + -ldflags "-w -s -linkmode external -X git.puqns67.icu/Puqns67/serenity/constant.Version=${pkgver}" \ ./cmd/... go run "./cmd/${_pkgname}" completion bash > "${srcdir}/completions/${_pkgname}"