summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 22af466f056adfe4b9c0e7d50de330af22d87107 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Daniel Zierl danikpapas@email.cz
pkgname=tally-counter
pkgver=1.0
pkgrel=1
pkgdesc="Minimalistic tally counter for terminal written in rust"
url="https://gitlab.com/danielzierl/tally-counter"
arch=('x86_64')
license=('Apache')
depends=('rust' 'cargo')
source=("git"+$url.git)
sha256sums=('SKIP')
options=(!debug)

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