Package Details: cartridge-cli-git 2.4.0.r2.g55a16ec-1

Git Clone URL: https://aur.archlinux.org/cartridge-cli-git.git (read-only, click to copy)
Package Base: cartridge-cli-git
Description: Tarantool Cartridge command-line utility
Upstream URL: https://tarantool.io/
Keywords: tarantool
Licenses: BSD
Submitter: Reodont
Maintainer: Reodont
Last Packager: Reodont
Votes: 0
Popularity: 0.000000
First Submitted: 2020-11-01 19:11 (UTC)
Last Updated: 2020-11-01 19:11 (UTC)

Dependencies (4)

Required by (0)

Sources (1)

Latest Comments

rafal.wegrzyniak commented on 2021-09-28 08:09 (UTC) (edited on 2021-09-28 08:10 (UTC) by rafal.wegrzyniak)

I changed PKGBUILD to use mage instead go build because go gives an error.

pkgname=cartridge-cli-git
pkgrel=1
pkgver=2.10.0.r18.gcb29ae8
pkgdesc='Tarantool Cartridge command-line utility'
arch=('x86_64')
url="https://tarantool.io/"
license=('BSD')
makedepends=('git' 'go' 'mage')
depends=('tarantool')
source=('cartridge-cli-git::git+https://github.com/tarantool/cartridge- 
cli/#branch=master')
sha256sums=('SKIP')

prepare(){
  cd "$pkgname"
  mkdir -p build/
}

pkgver() {
  cd "$pkgname"
  git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd "$pkgname"
  mage -v build
}

check() {
  printf "SKIP\n"
}

package() {
  cd "$pkgname"
  install -Dm755 ./cartridge "$pkgdir"/usr/bin/cartridge

  # License is BSD 2 clause type and needs to be installed
  install -m755 -d "${pkgdir}/usr/share/licenses/cartridge"
  install -m644 "${srcdir}/${pkgname}/LICENSE" 
  "${pkgdir}/usr/share/licenses/cartridge/"
}

lmartinez-mirror commented on 2021-09-13 01:51 (UTC)

This package does not build in a clean chroot. Might want to take a look at the build() function.