summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJohannes Dewender2014-01-11 21:04:36 +0100
committerJohannes Dewender2014-01-11 21:04:36 +0100
commit72d82361bbccda4790112a4f76059df63525f226 (patch)
tree14217ed1466d2eb3dfa3463fa3d4fd62039f40e9 /PKGBUILD
parent264f930b7c1fe5a02f8c3cf71ed8a34390626084 (diff)
downloadaur-72d82361bbccda4790112a4f76059df63525f226.tar.gz
debhelper-python2: remove conflicting files
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 034250c5bc1b..194af1d00eb2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=debhelper-python2
_pkgname=python-defaults
pkgver=2.7.5
-pkgrel=2
+pkgrel=3
_pkgrel=5
pkgdesc="debhelper scripts for Python 2: pyversions, python2.pm"
arch=('any')
@@ -42,6 +42,9 @@ package() {
make DESTDIR="$pkgdir/" install
mv $pkgdir/usr/local/bin $pkgdir/usr/bin
mv $pkgdir/usr/local/share $pkgdir/usr/share
+ # remove tools that are installed with debhelper-python (Python 3)
+ rm $pkgdir/usr/share/debhelper/autoscripts/{postinst-pycompile,prerm-pyclean}
+
mkdir -p $pkgdir/usr/share/perl5/vendor_perl
mv $pkgdir/usr/share/perl5/Debian $pkgdir/usr/share/perl5/vendor_perl/Debian
rm -r $pkgdir/usr/local