summaryrefslogtreecommitdiff
path: root/extra/kdevelop-python/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/kdevelop-python/PKGBUILD')
-rw-r--r--extra/kdevelop-python/PKGBUILD16
1 files changed, 6 insertions, 10 deletions
diff --git a/extra/kdevelop-python/PKGBUILD b/extra/kdevelop-python/PKGBUILD
index 64e694333..54002e95c 100644
--- a/extra/kdevelop-python/PKGBUILD
+++ b/extra/kdevelop-python/PKGBUILD
@@ -1,18 +1,17 @@
-# $Id: PKGBUILD 201382 2013-12-10 11:10:02Z andrea $
+# $Id: PKGBUILD 208819 2014-03-27 14:43:08Z fyan $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=kdevelop-python
-pkgver=1.6.0
-_pkgver=4.6.0
+pkgver=1.6.1
pkgrel=1
pkgdesc="Python language and documentation plugin for KDevelop"
arch=('i686' 'x86_64')
url="http://www.kdevelop.org/"
license=('GPL')
-depends=('kdevelop')
+depends=('kdevelop' 'python')
makedepends=('cmake' 'automoc4' 'kdevelop-pg-qt')
-source=("http://download.kde.org/stable/kdevelop/${_pkgver}/src/kdev-python-${pkgver}.tar.xz")
-sha1sums=('88618dbd3a80d5193f49f6c61a6ad02a5e9c0652')
+source=("http://download.kde.org/stable/kdevelop/kdev-python/${pkgver}/src/kdev-python-v${pkgver}-py3.tar.xz")
+sha1sums=('9fcb3250fe966ed86c26493ff4b341373c7ed018')
prepare() {
mkdir build
@@ -20,7 +19,7 @@ prepare() {
build() {
cd build
- cmake ../kdev-python-${pkgver} \
+ cmake ../kdev-python-v${pkgver}-py3 \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make
@@ -29,7 +28,4 @@ build() {
package() {
cd build
make DESTDIR="${pkgdir}" install
-
- sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
- "${pkgdir}"/usr/share/apps/kdevpythonsupport/encodings/encodings/rot_13.py
}