blob: 0d398d7131a261b01446e79cc792d8cc99e4ca87 (
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
|
# Mainintainer : Lucas Rooyakkers <lucas dot rooyakkers at queensu at ca>
pkgname=rmatrix
pkgver=51899ee
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=('git' 'cargo')
conflicts=('rmatrix')
source=("git+https://github.com/Fierthraix/rmatrix")
sha1sums=('SKIP')
build() {
cd "$srcdir/$pkgname"
cargo build --release
}
pkgver() {
cd "$srcdir/$pkgname"
echo $(git describe --always | sed 's/-/./g')
}
package() {
install -Dm755 "$srcdir/$pkgname/target/release/r-matrix" "$pkgdir/usr/bin/rmatrix"
}
# vim:set ts=2 sw=2 et:
|