summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c48afc638fd955d71e4ebd207cf3c0941fee2433 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
pkgname=statcat
pkgver=V3.1.0.beta
pkgrel=1
pkgdesc="A fast and customizable system fetch written in Rust"
arch=('x86_64')
url="https://github.com/fluffocj/statcat"
license=('MIT')
makedepends=('rust' 'cargo')
source=("git+$url#tag=$pkgver")
sha256sums=('SKIP')

build() {
  cd "$srcdir/$pkgname"
  cargo build --release
}

package() {
  cd "$srcdir/$pkgname"
  install -Dm755 target/release/$pkgname "$pkgdir/usr/bin/$pkgname"
}