Package Details: eva 0.2.7-1

Git Clone URL: https://aur.archlinux.org/eva.git (read-only, click to copy)
Package Base: eva
Description: simple calculator REPL, similar to bc(1)
Upstream URL: https://github.com/NerdyPepper/eva
Licenses: GPL3
Conflicts: eva-git
Submitter: wezm
Maintainer: wezm
Last Packager: wezm
Votes: 3
Popularity: 0.041288
First Submitted: 2019-03-29 21:57
Last Updated: 2020-01-02 08:37

Latest Comments

pickfire commented on 2020-11-08 09:04

LICENSE is also missing.

orhun commented on 2020-10-13 12:43

A few issues about PKGBUILD:

  • You don't need to add rust to makedepends array since it's provided by cargo
  • You can remove the empty depends array.
  • I created the eva-git package (https://aur.archlinux.org/packages/eva-git) and it conflicts with eva. You can remove the conflicts array from this PKGBUILD.

PKGBUILD:

# Maintainer: Wesley Moore <wes@wezm.net>

pkgname=eva
pkgver=0.2.7
pkgrel=1
pkgdesc='simple calculator REPL, similar to bc(1)'
arch=('x86_64')
url="https://github.com/NerdyPepper/eva"
license=('GPL3')
makedepends=('cargo')
source=("$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('72b2e47e987102d67c9dcbb60e26c4ff0b20e6f844d0d2b9d91c3f073374aee0')

build() {
  cd "$pkgname-$pkgver"
  cargo build --release --all-features
}

package() {
  cd "$pkgname-$pkgver"
  install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin"
  install -Dm 644 readme.md -t "$pkgdir/usr/share/doc/$pkgname"
}

diff: https://www.diffchecker.com/6nTorqaO