blob: 984a2a9410fe3afa23f76deef44ed720d3a6da10 (
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
|
# Contributor : dr460nf1r3 <dr460nf1r3 at garudalinux dot org>
# Mainintainer : Lucas Rooyakkers <lucas dot rooyakkers at queensu at ca>
pkgname=rmatrix-git
pkgver=0.2.r63
pkgrel=1
pkgdesc="Rust port of a curses-based 'Matrix'-like screen"
arch=('any')
url="https://github.com/Fierthraix/rmatrix"
license=('GPL3')
provides=("rmatrix")
makedepends=('cargo' 'git')
conflicts=('rmatrix')
source=("$pkgname::git+https://github.com/Fierthraix/rmatrix")
sha1sums=('SKIP')
build() {
cd "$pkgname"
cargo build --release
}
pkgver() {
cd "$pkgname"
printf "0.2.r%s" "$(git rev-list --count HEAD)"
}
package() {
cd "$pkgname"
install -Dm755 "target/release/r-matrix" "$pkgdir/usr/bin/rmatrix"
}
|