diff options
Diffstat (limited to 'ceres')
-rw-r--r-- | ceres/PKGBUILD | 10 |
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() { |