blob: 84911fcff8c959bc6189245ddc44eac5714103d8 (
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
|
# Maintainer: Sefa Eyeoglu <contact@scrumplex.net>
_pkgname=eta
pkgname=${_pkgname}-git
pkgver=r14.d91d294
pkgrel=2
pkgdesc="Tool for monitoring ETA and progress of an arbitrary process"
arch=("any")
url="https://github.com/aioobe/eta"
license=("GPL3")
depends=()
makedepends=("git" "gcc")
source=("${_pkgname}::git+https://github.com/aioobe/eta.git")
sha512sums=('SKIP')
pkgver() {
cd "${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${_pkgname}"
make
}
package() {
cd "${_pkgname}"
install -Dm 755 "eta" "${pkgdir}/usr/bin/eta"
install -Dm 644 "README.md" "${pkgdir}/usr/share/doc/${_pkgname}/README.md"
install -Dm 644 "LICENSE" "${pkgdir}/usr/share/doc/${_pkgname}/LICENSE"
install -Dm 644 "docs/eta.1" "${pkgdir}/usr/share/man/man1/eta.1"
}
|