From e45c504b8676ba2fb44ac43e516962a89b71e486 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 3 Nov 2024 17:16:04 +0100 Subject: ceres: Package version 0.5.0 --- ceres/PKGBUILD | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ceres/PKGBUILD b/ceres/PKGBUILD index 02dab78..31e941d 100644 --- a/ceres/PKGBUILD +++ b/ceres/PKGBUILD @@ -1,14 +1,14 @@ # Maintainer: xengineering pkgname=ceres -pkgver=0.4.0 +pkgver=0.5.0 pkgrel=1 pkgdesc="Recipe server for your favorite dishes" arch=('x86_64' 'aarch64') url='https://xengineering.eu/git/ceres' license=('AGPL') -makedepends=('coreutils' 'git' 'make' 'go') +makedepends=('coreutils' 'git' 'go') backup=('etc/ceres/config.json') -source=("git+https://cgit.xengineering.eu/ceres#tag=$pkgver?signed" +source=("git+https://cgit.xengineering.eu/ceres#tag=v${pkgver}?signed" 'ceres.service' 'sysuser.conf' 'ceres.tmpfile.d' @@ -40,12 +40,12 @@ build() { export CGO_CXXFLAGS="${CXXFLAGS}" export CGO_LDFLAGS="${LDFLAGS}" export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" - go build -ldflags "-X main.version=${pkgver}" -o "build/${pkgname}" xengineering.eu/ceres + go build -o "build/${pkgname}" xengineering.eu/ceres } check() { cd "${srcdir}/${pkgname}" - make tests + go test ./... } package() { -- cgit v1.2.3-70-g09d2