summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7f9b00a3af7209ff036cef6deed94eddb1dfd722 (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: Christophe-Marie Duquesne <chmd@chmd.fr>

pkgname=netmon-git
pkgdesc="A lightweight tray network monitor useful with netctl"
url="http://github.com/chmduquesne/netmon"
depends=(
    'python2'
    'iproute2'
    'iputils'
    'wpa_supplicant'
    'pygtk')
makedepends=('git')
provides=('netmon')
license=('GPL')
arch=('any')
pkgver=0.r12.9b6a452
pkgrel=1
source=("$pkgname"::'git+http://github.com/chmduquesne/netmon.git')
md5sums=('SKIP')

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

package() {
  cd "$srcdir/$pkgname"
  install -Dm 755 netmon $pkgdir/usr/bin/netmon
}