diff options
author | Bruce Zhang | 2018-12-07 19:48:48 +0800 |
---|---|---|
committer | Bruce Zhang | 2018-12-07 19:48:48 +0800 |
commit | 9799021c385edd3178194f1a9576abee654c596d (patch) | |
tree | 67045ab7472543f7c05e77ccd33a79ef175edf06 | |
download | aur-tcping.tar.gz |
0.1.1rc1
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 25 |
3 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c716c25675bf --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = tcping + pkgdesc = Just like icmp ping + pkgver = 0.1.1rc1 + pkgrel = 1 + url = https://github.com/zhengxiaowai/tcping + arch = any + license = MIT + makedepends = python-setuptools + depends = python-click + depends = python-prettytable + depends = python-six + source = https://files.pythonhosted.org/packages/2a/a1/7e8ac7d81a1a89b1cdb8200fee2c0779410a63743806213cb9289ab6ee94/tcping-0.1.1rc1.tar.gz + sha256sums = 557d5e928601e5a31e55abe20c6b9fff18bdc74a1e1d620d6b28b2f7c7a26606 + +pkgname = tcping + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..0a2223f3641d --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.tar.gz +*.tar.xz +src/ +pkg/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..46903dbcfe6c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Contributor(s): xgdgsc <xgdgsc@gmail.com> +# Maintainer: Bruce Zhang <zttt183525594@gmail.com> + +pkgname=tcping +pkgver=0.1.1rc1 +pkgrel=1 +pkgpath='2a/a1/7e8ac7d81a1a89b1cdb8200fee2c0779410a63743806213cb9289ab6ee94' +pkgdesc="Just like icmp ping" +arch=('any') +url="https://github.com/zhengxiaowai/tcping" +license=('MIT') +depends=('python-click' 'python-prettytable' 'python-six') +makedepends=('python-setuptools') +source=("https://files.pythonhosted.org/packages/${pkgpath}/tcping-${pkgver}.tar.gz") +sha256sums=('557d5e928601e5a31e55abe20c6b9fff18bdc74a1e1d620d6b28b2f7c7a26606') + +build() { + cd "$pkgname-$pkgver" + python setup.py build +} + +package() { + cd "$pkgname-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 --skip-build +} |