blob: e4b5a4f8509fa436da94a54156c7b164e7432193 (
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: Jerome Leclanche <jerome@leclan.ch>
# NOTE: This package is officially named "spark", however that name
# conflicts with the Spark IM client. It is here renamed sparklines.
_pkgname=spark
pkgname=sparklines-git
pkgver=v1.0.1.6.g9832447
pkgrel=1
pkgdesc="Spark: Sparklines for your shell"
arch=('any')
url="http://zachholman.com/spark/"
license=('MIT')
makedepends=('git')
provides=('sparklines')
conflicts=('sparklines')
source=("git://github.com/holman/$_pkgname.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
git describe --always | sed "s/-/./g"
}
package() {
cd "$srcdir/$_pkgname"
install -D spark "$pkgdir/usr/bin/sparklines"
install -D "README.md" "$pkgdir/usr/share/doc/spark/README.md"
}
|