blob: 0feba951cbfc6ff9cc2dae92ae7c95aa253218f5 (
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
|
# Maintainer: Daniel M. Capella <polyzen@archlinux.org>
pkgname=textris
pkgver=0.2.0
pkgrel=1
pkgdesc='Tetris on terminal, written in Rust'
arch=('x86_64')
url=https://github.com/ryym/textris
license=('Apache')
depends=('gcc-libs')
makedepends=('rust')
source=("textris-$pkgver.tar.gz::https://static.crates.io/crates/textris/textris-$pkgver.crate")
sha512sums=('bdf9a2bd6ab844173fea5d66d0c7b44c95ed116b938b5b4d06bf04b233d3f165959fc2c6e03c26b372f2a45e94fb6ad62286bf9a0ff2d481a39469a51dac37ec')
build() {
cd textris-$pkgver
cargo build --release
}
check() {
cd textris-$pkgver
cargo test --release
}
package() {
cd textris-$pkgver
install -Dt "$pkgdir"/usr/bin target/release/textris
}
# vim:set ts=2 sw=2 et:
|