summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-11-03 17:16:04 +0100
committerxengineering <me@xengineering.eu>2024-11-03 17:17:52 +0100
commite45c504b8676ba2fb44ac43e516962a89b71e486 (patch)
treebb91189a093d4ea47f9471f0d355bc9ce0bacb81
parentfb00ca485912c40bc88034be50c212f4f3a562c5 (diff)
downloadpkgbuilds-e45c504b8676ba2fb44ac43e516962a89b71e486.tar
pkgbuilds-e45c504b8676ba2fb44ac43e516962a89b71e486.tar.zst
pkgbuilds-e45c504b8676ba2fb44ac43e516962a89b71e486.zip
ceres: Package version 0.5.0
-rw-r--r--ceres/PKGBUILD10
1 files 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 <me@xengineering.eu>
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() {