Alexander Rødseth pushed to branch main at Arch Linux / Packaging / Packages /
algernon
Commits:
6b04c138 by Alexander F. Rødseth at 2024-07-13T14:04:40+02:00
upgpkg: 1.17.0-1
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
pkgbase = algernon
pkgdesc = Web server with Lua, Markdown, QUIC, Redis and PostgreSQL
support
- pkgver = 1.16.0
+ pkgver = 1.17.0
pkgrel = 1
url = https://algernon.roboticoverlords.org/
arch = x86_64
@@ -11,7 +11,7 @@ pkgbase = algernon
optdepends = ollama: For using Ollama from Lua or .prompt files
optdepends = postgresql: For using the PostgreSQL database backend
optdepends = redis: For using the Redis database backend
- source =
git+https://github.com/xyproto/algernon#commit=41cc40983b7fd3ee1a54c09e16f4b7ab8144c32f
+ source =
git+https://github.com/xyproto/algernon#commit=e10e38c0d4f27af4e4bd37ebdaaa8da3c8d170b4
b2sums = SKIP
pkgname = algernon
=====================================
PKGBUILD
=====================================
@@ -1,7 +1,7 @@
# Maintainer: Alexander F. Rødseth <[email protected]>
pkgname=algernon
-pkgver=1.16.0
+pkgver=1.17.0
pkgrel=1
pkgdesc='Web server with Lua, Markdown, QUIC, Redis and PostgreSQL support'
arch=(x86_64)
@@ -12,13 +12,12 @@ optdepends=('mariadb: For using the MariaDB/MySQL database
backend'
'ollama: For using Ollama from Lua or .prompt files'
'postgresql: For using the PostgreSQL database backend'
'redis: For using the Redis database backend')
-source=("git+https://github.com/xyproto/algernon#commit=41cc40983b7fd3ee1a54c09e16f4b7ab8144c32f")
# tag: v1.16.0
+source=("git+https://github.com/xyproto/algernon#commit=e10e38c0d4f27af4e4bd37ebdaaa8da3c8d170b4")
# tag: v1.17.0
b2sums=('SKIP')
prepare() {
cd $pkgname
- export LDFLAGS='-Wl,-O2,--as-needed,-z,relro,-z,now'
- go build -v -mod=vendor -trimpath -buildmode=pie -ldflags "-s -w
-linkmode=external -extldflags=$LDFLAGS"
+ go build -buildmode=pie -trimpath -mod=readonly -modcacherw -ldflags="-s -w
-linkmode=external -extldflags '$LDFLAGS'"
}
package() {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/algernon/-/commit/6b04c13806347a6adbccd2e9791b5e688cc95d98
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/algernon/-/commit/6b04c13806347a6adbccd2e9791b5e688cc95d98
You're receiving this email because of your account on gitlab.archlinux.org.