summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ae860d85be60e84995432b7a185292f341b31746 (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
# Maintainer: Shalygin Konstantin <k0ste@k0ste.ru>
# Contributor: Shalygin Konstantin <k0ste@k0ste.ru>

pkgname='ethq'
pkgver='0.6.1'
_gitver='0_6_1'
pkgrel='1'
pkgdesc='Displays an auto-updating per-second count of the number of packets and bytes being handled by each specified NIC'
arch=('any')
url="https://github.com/isc-projects/${pkgname}"
license=('MPL')
depends=('ncurses')
source=("${url}/archive/v${_gitver}.tar.gz")
md5sums=('7fd9474458b12767ffcaa328d1ef69d9')

build() {
  cd "${srcdir}/${pkgname}-${_gitver}"
  make
}

package() {
  cd "${srcdir}/${pkgname}-${_gitver}"
  install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
  install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
}