serenity-elaina-git/1.1.0.alpha4.puqns672.r0.gc0576a3-1: update

Signed-off-by: Puqns67 <me@puqns67.icu>
This commit is contained in:
Puqns67 2024-12-03 19:24:32 +08:00
parent ef2c607b74
commit 0a9648add3
Signed by: Puqns67
GPG Key ID: 9669DF042554F536
2 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
pkgbase = serenity-elaina-git pkgbase = serenity-elaina-git
pkgdesc = The configuration generator for sing-box, elaina edition pkgdesc = The configuration generator for sing-box, elaina edition
pkgver = 1.1.0.alpha3.r4.g0a1889c pkgver = 1.1.0.alpha4.puqns672.r0.gc0576a3
pkgrel = 2 pkgrel = 1
url = https://git.puqns67.icu/Puqns67/serenity url = https://git.puqns67.icu/Puqns67/serenity
arch = x86_64 arch = x86_64
arch = aarch64 arch = aarch64

View File

@ -7,8 +7,8 @@
_pkgname='serenity' _pkgname='serenity'
pkgname="${_pkgname}-elaina-git" pkgname="${_pkgname}-elaina-git"
pkgver=1.1.0.alpha3.r4.g0a1889c pkgver=1.1.0.alpha4.puqns672.r0.gc0576a3
pkgrel=2 pkgrel=1
pkgdesc='The configuration generator for sing-box, elaina edition' pkgdesc='The configuration generator for sing-box, elaina edition'
arch=('x86_64' 'aarch64') arch=('x86_64' 'aarch64')
url='https://git.puqns67.icu/Puqns67/serenity' url='https://git.puqns67.icu/Puqns67/serenity'
@ -23,7 +23,7 @@ source=("${_pkgname}-elaina"::"git+${url}.git")
b2sums=('SKIP') b2sums=('SKIP')
pkgver() { 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() { prepare() {
@ -44,7 +44,7 @@ build() {
go build \ go build \
-o "${srcdir}/${_pkgname}" \ -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/... ./cmd/...
go run "./cmd/${_pkgname}" completion bash > "${srcdir}/completions/${_pkgname}" go run "./cmd/${_pkgname}" completion bash > "${srcdir}/completions/${_pkgname}"