summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8519c4002a3ba617fa9556792bd96524a52c7cb1 (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
# $Id$
# Maintainer: Kemad Zhong <kemadz@gmail.com>

pkgname=tcping-git
pkgver=2.1.0
pkgrel=1
pkgdesc="a utility that does a TCP connect to the given ip/port combination"
url="https://github.com/mkirchner/tcping"
license=("MIT")
arch=('x86_64')
depends=('glibc')
makedepends=('git')
source=("git+$url#tag=$pkgver")
sha512sums=('SKIP')
provides=("tcping")
conflicts=("tcping")
replaces=("tcping")

build() {
  cd "$srcdir/tcping"
  make
}

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