summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-10-30 14:49:19 +0100
committerErich Eckner <git@eckner.net>2019-10-30 14:49:19 +0100
commit26ed83cc1a48227a55320b6fd25e2007b002fee3 (patch)
tree4967c957ae11de80a9ace0f13acff4a870a907e6
parent323d8a5340bc514568112a73299530693e503fdf (diff)
downloadarchlinuxewe-26ed83cc1a48227a55320b6fd25e2007b002fee3.tar.xz
python-pyshortcuts: do not remove egg-info
-rw-r--r--python-pyshortcuts/PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/python-pyshortcuts/PKGBUILD b/python-pyshortcuts/PKGBUILD
index b0e85bfb6..74be0bfd1 100644
--- a/python-pyshortcuts/PKGBUILD
+++ b/python-pyshortcuts/PKGBUILD
@@ -4,7 +4,7 @@ pkgbase=python-pyshortcuts
pkgname=('python-pyshortcuts' 'python2-pyshortcuts')
_pkgname='pyshortcuts'
pkgver=1.7
-pkgrel=1
+pkgrel=2
pkgdesc='create desktop shortcuts to python scripts on Windows, Mac, or Linux'
arch=('any')
url='https://github.com/newville/pyshortcuts'
@@ -65,7 +65,7 @@ package_python-pyshortcuts() {
printf '%s\n' "${errors}"
return 1
fi
- rm -rf --one-file-system "${pkgdir}/usr/lib"/python*/site-packages/pyshortcuts-*.egg-info "${pkgdir}/usr/bin"
+ rm -rf --one-file-system "${pkgdir}/usr/bin"
}
package_python2-pyshortcuts() {
@@ -86,6 +86,6 @@ package_python2-pyshortcuts() {
printf '%s\n' "${errors}"
return 1
fi
- rm -rf --one-file-system "${pkgdir}/usr/lib"/python*/site-packages/pyshortcuts-*.egg-info "${pkgdir}/usr/bin"
+ rm -rf --one-file-system "${pkgdir}/usr/bin"
}