Commit c4258e74 authored by totte's avatar totte

kdebindings-python: Various fixes, increase PKGREL

parent cdfec9b1
......@@ -13,7 +13,7 @@ pkgname=('kdebindings-python-common'
'kdebindings-python2'
'kdebindings-python3')
pkgver=${_kdever}
pkgrel=11
pkgrel=12
url="https://projects.kde.org/projects/kde/kdebindings/pykde4"
arch=('x86_64')
license=('GPL' 'LGPL' 'FDL')
......@@ -29,7 +29,8 @@ makedepends=('automoc4'
'python3-pyqt4>=4.10.3-5'
'python3-sip'
'qscintilla-python2>=2.7.2-1')
source=("$_mirror/pykde4-$_kdever.tar.xz")
source=("http://download.kde.org/stable/4.11.2/src/pykde4-4.11.2.tar.xz")
# source=("$_mirror/pykde4-$_kdever.tar.xz")
sha1sums=(`grep pykde4-$_kdever.tar.xz ../kde-sc.md5 | cut -d" " -f1`)
groups=("kde" "kdebindings" "kde-uninstall")
options=('docs' '!header' 'debug' 'log')
......@@ -73,8 +74,9 @@ package_kdebindings-python3() {
make DESTDIR="${pkgdir}" install
# Provided by common
rm -r "${pkgdir}"/usr/share/apps/pykde4/examples
rm -r "${pkgdir}"/usr/share/sip/PyKDE4
#rm -r "${pkgdir}"/usr/share/apps/pykde4/examples
#rm -r "${pkgdir}"/usr/share/sip/PyKDE4
rm -r "${pkgdir}"/usr/share
}
package_kdebindings-python2() {
......@@ -94,9 +96,13 @@ package_kdebindings-python2() {
cd "${srcdir}"/build-python2
make DESTDIR="${pkgdir}" install
# Symlink
ln -s /usr/bin/pykdeuic4 "${pkgdir}"/usr/bin/pykdeuic4-2.7
# Provided by common
rm -r "${pkgdir}"/usr/share/apps/pykde4/examples
rm -r "${pkgdir}"/usr/share/sip/PyKDE4
#rm -r "${pkgdir}"/usr/share/apps/pykde4/examples
#rm -r "${pkgdir}"/usr/share/sip/PyKDE4
rm -r "${pkgdir}"/usr/share
}
package_kdebindings-python-common() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment