diff options
author | clintval | 2018-01-21 17:23:21 -0800 |
---|---|---|
committer | clintval | 2018-01-21 17:23:21 -0800 |
commit | c0724fc7eeaf5d419039a40d0c7b97a406564097 (patch) | |
tree | 9834e735920d79b2919e29a94fe2f15e3ca74d2a | |
parent | 906c19e012b9805532d1c4cd21a0f14b101df341 (diff) | |
download | aur-c0724fc7eeaf5d419039a40d0c7b97a406564097.tar.gz |
python-pybedtools2 fix /usr/bin scripts
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = python-pybedtools pkgdesc = Python wrapper for the bioinformatics genomic arithmetic tool bedtools pkgver = 0.7.10 - pkgrel = 3 + pkgrel = 4 url = https://pypi.python.org/pypi/pybedtools arch = any license = GPL2 @@ -4,7 +4,7 @@ _name=pybedtools pkgbase='python-pybedtools' pkgname=('python-pybedtools' 'python2-pybedtools') pkgver=0.7.10 -pkgrel=3 +pkgrel=4 pkgdesc="Python wrapper for the bioinformatics genomic arithmetic tool bedtools" arch=('any') url="https://pypi.python.org/pypi/pybedtools" @@ -54,7 +54,7 @@ package_python2-pybedtools() { mv "${pkgdir}"/usr/bin/pybedtools "${pkgdir}"/usr/bin/pybedtools2 for script in "${pkgdir}"/usr/bin/*.py;do - mv "${pkgdir}"/usr/bin/"${script}" "${pkgdir}"/usr/bin/"${script%.*py}"2.py + mv "${script}" "${pkgdir}"/usr/bin/$(basename "${script%.*py}")2.py done } |