summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Chen2017-10-22 22:01:36 +0800
committerJohn Chen2017-10-22 22:01:36 +0800
commitfd1e9a33969b46e8432b38764a438b14e465d250 (patch)
treea62a8e7aa74acb96c97b5b28817c6e4dd65ef55c
parentb2da7c467fbf7f529f79d882fa3bdf57a5df36f4 (diff)
downloadaur-fd1e9a33969b46e8432b38764a438b14e465d250.tar.gz
Move /usr/bin/serve-stdio{,2} for python2-nclib.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e00d9c7e2a0..aaa3e4ac0da 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-nclib
pkgdesc = Netcat as a library: convienent socket interfaces
pkgver = 0.8.0
- pkgrel = 1
+ pkgrel = 2
url = https://pypi.python.org/pypi/nclib/0.8.0
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index fde1523daf7..d68a76d9b4e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ pkgbase=python-nclib
pkgname=(python-nclib python2-nclib)
_name=nclib
pkgver=0.8.0
-pkgrel=1
+pkgrel=2
pkgdesc="Netcat as a library: convienent socket interfaces"
license=("MIT")
arch=('any')
@@ -43,5 +43,8 @@ package_python2-nclib() {
depends=('python2')
cd nclib-$pkgver-py2
python2 setup.py install -O1 --root="$pkgdir"
+ for file in "$pkgdir"/usr/bin/*; do
+ mv "$file" "$file"2
+ done
# install -Dm0644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}