blob: 1c0b0daaf3e2ef91e1b6f58d574f88a81ee71c15 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Maintainer: Juan Jaramillo <jmboris at gmail dot com>
# Author: Weihong Guan (@aGuegu)
# E-mail: weihong.guan[at]gmail.com
# Host: https://github.com/aguegu/greenrain
pkgname=greenrain
pkgver=1
pkgrel=1
pkgdesc="Generate Green Rain / Matrix Digital Rain in Linux Terminal with curses lib"
arch=('any')
url="https://github.com/aguegu/greenrain"
license=('GNU')
depends=('git' )
source=()
md5sums=()
_gitroot="https://github.com/aguegu/$pkgname.git"
_gitname="$pkgname"
build()
{
cd ${srcdir}/
msg "Connecting to the GIT server...."
if [[ -d ${srcdir}/${_gitname} ]] ; then
cd ${_gitname}
git pull origin
msg "The local files are updated..."
else
git clone ${_gitroot}
fi
msg "GIT checkout done."
}
package() {
cd "$pkgname"
make
install -Dm755 greenrain $pkgdir/usr/bin/greenrain
#install -Dm644 README.md $pkgdir/usr/share/doc/${pkgname%-*}/README.md
#install -Dm644 LICENSE $pkgdir/usr/share/licenses/${pkgname%-*}/LICENSE
}
|