alist/3.34.0-1: update

This commit is contained in:
Puqns67 2024-05-03 17:59:06 +08:00
parent a35dab4e72
commit 64258ebf97
Signed by: Puqns67
GPG Key ID: 9669DF042554F536
2 changed files with 11 additions and 9 deletions

View File

@ -1,6 +1,6 @@
pkgbase = alist
pkgdesc = A file list/WebDAV program that supports multiple storages, powered by Gin and Solidjs.
pkgver = 3.33.0
pkgver = 3.34.0
pkgrel = 1
url = https://github.com/alist-org/alist
arch = x86_64
@ -11,12 +11,12 @@ pkgbase = alist
depends = alist-web
depends = glibc
backup = etc/alist/config.json
source = alist-3.33.0.tar.gz::https://github.com/alist-org/alist/archive/refs/tags/v3.33.0.tar.gz
source = alist-3.34.0.tar.gz::https://github.com/alist-org/alist/archive/refs/tags/v3.34.0.tar.gz
source = alist.service
source = alist-config.json
source = alist-sysusers.conf
source = alist-tmpfiles.conf
b2sums = d7b0b73cf7023bc2ea273e58c686c68903991152f7bd73f1447391b4fd1da169e3414264bc42496c1d68eb64c4fb4f64a25dc72913aef2e158524d1c42b9e883
b2sums = f6e574714c906f5f8d7daed52242aeeb8b998a1dd7a26382c94fdb0200f8783eb9ebef1ae7061845a3c4100facb9b32198b5bcc7b61a22531e7ee3905d3cac38
b2sums = 31f28bbf375abfd5bd92f5868d4fdb8da013ca0c6fb5c9440f2113058f10521fa9f89b6d7f5463f782c5af5d33710b8ae7f153d460a7bcd294c21b7539d62cd4
b2sums = 9327a492264ecac0806b031b780241d86cabe38348fe49c4c5a610ee584cfbaaefd3fdffd1b1b54c9ee225820433a7f902c688b2e123181a56c73b9cbf9cd13f
b2sums = 3ae4af13c2731c5343b5c000d14725aada399e314c8d1309bb2c668053c385f759351f62e09246e1cfca9fbe40033faee08722d7456ea8c66c9b77c20bff0c0b

View File

@ -1,7 +1,7 @@
# Maintainer: Puqns67 <me@puqns67.icu>
pkgname='alist'
pkgver=3.33.0
pkgver=3.34.0
pkgrel=1
pkgdesc='A file list/WebDAV program that supports multiple storages, powered by Gin and Solidjs.'
arch=('x86_64' 'aarch64' 'riscv64')
@ -17,7 +17,7 @@ source=("${pkgname}-${pkgver}.tar.gz"::"${url}/archive/refs/tags/v${pkgver}.tar.
"${pkgname}-sysusers.conf"
"${pkgname}-tmpfiles.conf")
b2sums=('d7b0b73cf7023bc2ea273e58c686c68903991152f7bd73f1447391b4fd1da169e3414264bc42496c1d68eb64c4fb4f64a25dc72913aef2e158524d1c42b9e883'
b2sums=('f6e574714c906f5f8d7daed52242aeeb8b998a1dd7a26382c94fdb0200f8783eb9ebef1ae7061845a3c4100facb9b32198b5bcc7b61a22531e7ee3905d3cac38'
'31f28bbf375abfd5bd92f5868d4fdb8da013ca0c6fb5c9440f2113058f10521fa9f89b6d7f5463f782c5af5d33710b8ae7f153d460a7bcd294c21b7539d62cd4'
'9327a492264ecac0806b031b780241d86cabe38348fe49c4c5a610ee584cfbaaefd3fdffd1b1b54c9ee225820433a7f902c688b2e123181a56c73b9cbf9cd13f'
'3ae4af13c2731c5343b5c000d14725aada399e314c8d1309bb2c668053c385f759351f62e09246e1cfca9fbe40033faee08722d7456ea8c66c9b77c20bff0c0b'
@ -29,7 +29,7 @@ prepare() {
# Download dependencies
cd "${srcdir}/${pkgname}-${pkgver}"
go mod download -x -modcacherw
go mod vendor
}
build() {
@ -38,12 +38,14 @@ build() {
export CGO_LDFLAGS="${LDFLAGS}"
export GOFLAGS="-v -x -work -modcacherw -trimpath -buildmode=pie -mod=readonly"
cd "${srcdir}/${pkgname}-${pkgver}"
go build -o "${srcdir}/${pkgname}" \
go build \
-C "${srcdir}/${pkgname}-${pkgver}" \
-o "${srcdir}/${pkgname}" \
-ldflags="-w -s -linkmode external \
-X 'github.com/alist-org/alist/v3/internal/conf.BuiltAt=$(date +"%F %T %z")' \
-X 'github.com/alist-org/alist/v3/internal/conf.GoVersion=$(go version | sed "s/go version //")' \
-X 'github.com/alist-org/alist/v3/internal/conf.Version=${pkgver}'"
-X 'github.com/alist-org/alist/v3/internal/conf.Version=v${pkgver}-arch${pkgrel}' \
-X 'github.com/alist-org/alist/v3/internal/conf.WebVersion=none'"
}
package() {