summaryrefslogtreecommitdiff
path: root/python-fabio
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-07-09 11:17:09 +0200
committerErich Eckner <git@eckner.net>2018-07-09 11:17:09 +0200
commitd43318c22c5457c932b227c3c738662c8ff645f4 (patch)
treebc4a19f4347fb8bd8f3651d57f599935621f2c27 /python-fabio
parente092e90afc3d5c8c882971932e53bdfb817a5cb4 (diff)
downloadarchlinuxewe-d43318c22c5457c932b227c3c738662c8ff645f4.tar.xz
python-fabio: remove file conflicts
Diffstat (limited to 'python-fabio')
-rw-r--r--python-fabio/PKGBUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/python-fabio/PKGBUILD b/python-fabio/PKGBUILD
index 87d2874a8..96fe7bec9 100644
--- a/python-fabio/PKGBUILD
+++ b/python-fabio/PKGBUILD
@@ -45,6 +45,10 @@ package_python2-fabio() {
cd "${srcdir}/py2-${pkgname#*-}-${pkgver}"
python2 setup.py install --root="${pkgdir}/" --optimize=1
install -D copyright "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ for suffix in '-convert' '_viewer'; do
+ mv "${pkgdir}/usr/bin/fabio${suffix}" "${pkgdir}/usr/bin/fabio2${suffix}"
+ sed -i '1 s/python/python2/' "${pkgdir}/usr/bin/fabio2${suffix}"
+ done
}
package_python-fabio() {