summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 806c029bf684e3379f7121adb6ea32568ed04651 (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
25
26
27
28
# Maintainer: Energi <bloznelis05@gmail.com>
pkgname=typioca-git
typioca=typioca
pkgver=3.1.0
pkgrel=1
pkgdesc="Minimal, terminal based typing speed tester"
arch=(x86_64)
url="https://github.com/bloznelis/typioca"
license=(MIT)
groups=()
depends=()
makedepends=(git make go)
provides=("$typioca")
conflicts=("$typioca")
source=("git+$url#tag=$pkgver")
sha256sums=('SKIP')

build() {
  cd "$srcdir/$typioca"
  make VERSION=$pkgver build
}

package() {
  cd "$srcdir/$typioca"

  install -Dm755 execs/$typioca "$pkgdir/usr/bin/$typioca"
  install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$typioca/"
}