blob: 4c080469057667b08c308f39fd841f8da63e09c8 (
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
29
30
31
|
# Maintainer: Jonathan Birk <jona@jbirk.de>
pkgname=toggle_cool_cow_says_type
pkgver=0.1.9
pkgrel=1
pkgdesc="A terminal based typing game."
arch=('x86_64')
url='https://github.com/togglebyte/toggle_cool_cow_says_type'
license=('MIT')
depends=('gcc-libs')
makedepends=('cargo')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/togglebyte/toggle_cool_cow_says_type/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('f301cf6534e799cf56db820472e03fd6bec1df2835a0b863138582b4de76c71d')
build() {
cd ${pkgname}-${pkgver}
cargo build --release --locked --all-features
}
check() {
cd ${pkgname}-${pkgver}
}
package() {
cd ${pkgname}-${pkgver}
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm755 "target/release/tccst" "$pkgdir/usr/bin/tccst"
}
|