summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 047ba7e8ccebbb2ec69dddcb76ff7fe60cd32557 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
pkgname=zash
pkgver=0.3.1
pkgrel=1
pkgdesc='Zash - A Zuper Awesome Shell'
arch=('x86_64' 'aarch64')
url='https://github.com/robiot/zash'
license=('GPL-3.0')
makedepends=('cargo')
sha512sums=('SKIP')
source=("${url}/archive/refs/tags/v${pkgver}.tar.gz")
install=zash.install

build() {
  cd $pkgname-$pkgver

  cargo build --release
}

package() {
  cd $pkgname-$pkgver
  install -Dm 755 target/release/${pkgname} ${pkgdir}/usr/bin/${pkgname}
}