blob: a36c98bf33b2a9b3faa036f9bb317fb5dbc508a5 (
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
|
# Maintainer: willemw <willemw12@gmail.com>
# Contributor: Dimitris Kiziridis <ragouel at outlook dot com>
pkgname=digital-rain-git
pkgver=r8.d3963c4
pkgrel=3
pkgdesc="Recreate the Digital Rain effect from the Matrix in a standard terminal"
arch=('x86_64')
url="https://github.com/DavidWKnight/Digital-Rain"
license=('GPL3')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("$pkgname::git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd $pkgname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
make -C $pkgname
}
package() {
install -Dm755 $pkgname/Digital_Rain.out "$pkgdir/usr/bin/${pkgname%-git}"
}
|