summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 419b676f946185d82e9a9d234de76d440bee4679 (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
pkgname=ttyplot-git
pkgver=r22.ac8c3c3
pkgrel=1
pkgdesc="A realtime plotting utility for terminal with data input from stdin"
arch=('x86_64')
license=('Apache 2.0')
url="https://github.com/tenox7/ttyplot"
source=('git+https://github.com/tenox7/ttyplot.git')
sha256sums=('SKIP')
depends=('ncurses')


pkgver() {
 	cd $srcdir/ttyplot
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
	cd $srcdir/ttyplot
	make
}

package() {
	cd $srcdir/ttyplot
	install -D -m755 ttyplot  $pkgdir/usr/bin/ttyplot
}