blob: 7f22b4f534474694c33bc3e4d01db8f026843f56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Maintainer: desbma
pkgname=zoxide
pkgver=0.5.0
pkgrel=1
pkgdesc='A fast cd command that learns your habits'
arch=('x86_64')
url="https://github.com/ajeetdsouza/${pkgname}"
license=('MIT')
makedepends=('rust')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ajeetdsouza/${pkgname}/archive/v${pkgver}.tar.gz")
sha512sums=('7944666d0670dbfa12befaf4cd261a5fe99c5fc520d5db09635407165b82552874caa1f2d32ee03ec9c5bab74dcc0ddcc271a09f5c03ef6019f9cd59f1c6f846')
build() {
cd "${pkgname}-${pkgver}"
cargo build --release --locked
}
package() {
cd "${pkgname}-${pkgver}"
install -Dm 755 -t "${pkgdir}/usr/bin" ./target/release/${pkgname}
install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|