blob: f50c3c9371745c94b2ac8fff77f5645b506d8a5e (
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
|
# Maintainer: N30N <archlinux@alunamation.com>
pkgname="ttysys"
pkgver=0.8.r0.g61c183d
pkgrel=1
pkgdesc="A live ncurses cpu and memory usage graph"
url="https://github.com/rigel314/ttysys"
license=("GPL3")
arch=("i686" "x86_64")
depends=("ncurses")
makedepends=("git")
# source=("git+https://github.com/rigel314/ttysys.git#tag=v${pkgver}")
source=("git+https://github.com/rigel314/ttysys.git")
md5sums=("SKIP")
pkgver() {
cd "${pkgname}"
git describe --long | sed "s/^v//;s/\([^-]*-g\)/r\1/;s/-/./g"
}
build() {
cd "${pkgname}"
make
}
package() {
cd "${pkgname}"
install -Dm755 build/target/ttysys "${pkgdir}/usr/bin/ttysys"
}
# vim: set noet ff=unix:
|