blob: 264d305eccdc705c9441b7d6d8f9a1d6a90f983f (
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
|
# Maintainer: Pierre Carru <pierre@carru.fr>
# based on dstat package
pkgname=dool-git
_pkgname=dool
pkgver=1.0.0.r1.g34a3244
pkgrel=1
pkgdesc="A versatile resource statistics tool"
arch=('any')
url="https://github.com/scottchiefbaker/dool"
license=('GPL')
depends=('python' 'python-six')
provides=('dool')
conflicts=('dool')
#source=(https://github.com/scottchiefbaker/dool/archive/master.tar.gz)
#sha512sums=(SKIP)
source=("${pkgname%-*}::git+https://github.com/scottchiefbaker/dool.git")
sha512sums=(SKIP)
pkgver() {
cd "$_pkgname"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "$_pkgname"
make DESTDIR="$pkgdir" install
}
|