eva-PKGBUILD

-4 Removals
+5 Additions
# Maintainer: Wesley Moore <wes@wezm.net># Maintainer: Wesley Moore <wes@wezm.net>
pkgname=evapkgname=eva
pkgver=0.2.7pkgver=0.2.7
pkgrel=1pkgrel=1
pkgdesc='simple calculator REPL, similar to bc(1)'pkgdesc='simple calculator REPL, similar to bc(1)'
arch=('x86_64')arch=('x86_64')
url="https://github.com/NerdyPepper/eva"url="https://github.com/NerdyPepper/eva"
license=('GPL3')license=('GPL3')
depends=()makedepends=('cargo')
conflicts=('eva-git')
makedepends=('rust' 'cargo')
source=("$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")source=("$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('72b2e47e987102d67c9dcbb60e26c4ff0b20e6f844d0d2b9d91c3f073374aee0')sha256sums=('72b2e47e987102d67c9dcbb60e26c4ff0b20e6f844d0d2b9d91c3f073374aee0')
build() {build() {
cd "$pkgname-$pkgver" cd "$pkgname-$pkgver"
cargo build --release cargo build --release --all-features
}}
package() {package() {
install -Dm755 "$srcdir/$pkgname-$pkgver/target/release/$pkgname" "$pkgdir/usr/bin/$pkgname" cd "$pkgname-$pkgver"
install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin"
install -Dm 644 readme.md -t "$pkgdir/usr/share/doc/$pkgname"
}}
Editor
Clear
Export as PDF
Original Text
Changed Text