blob: 1f1b916e340f0997774f1ab2f4ce1b5ba0a2cb86 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Maintainer: Eugene Babichenko <eugene.babichenko@gmail.com>
pkgname=fixit
pkgver=0.9.0
pkgrel=1
url='https://github.com/eugene-babichenko/fixit'
pkgdesc='A utility to fix mistakes in your commands.'
license=('MIT')
arch=('x86_64' 'i686' 'aarch64' 'armv7h')
makedepends=('rust')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v0.9.0.tar.gz")
sha256sums=('22b5fb2794c37cd808b961e55655dc47a92e2b435145c49aac57beb5d47267c9')
build() {
cd "$pkgname-0.9.0"
export RUSTUP_TOOLCHAIN=stable
export CARGO_TARGET_DIR=target
cargo build --locked --release
}
package() {
cd "$pkgname-0.9.0"
install -Dm755 "target/release/$pkgname" -t "$pkgdir/usr/bin"
}
|