blob: b1caa9ce393cb70519367e72a307ab42bbbb15a0 (
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: Magnus Anderson <magnus@iastate.edu>
pkgname=rust-lolcat-git
pkgver=r66.9621f62
pkgrel=1
pkgdesc="A rust implementation of lolcat"
arch=('i686' 'x86_64')
url='https://github.com/ur0/lolcat'
license=('MIT')
provides=('lolcat')
conflicts=('lolcat')
source=("git+$url")
sha1sums=('SKIP')
makedepends=('cargo' 'git')
build() {
cd lolcat
cargo build --release
}
pkgver() {
cd lolcat
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd lolcat
install -Dm755 "target/release/lolcat" "$pkgdir/usr/bin/lolcat"
}
|