2013-06-03 01:53:39 +08:00
|
|
|
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
|
|
|
# contributor: Jakub Kozisek <nodevel at gmail dot com>
|
2012-11-28 02:09:14 +08:00
|
|
|
|
|
|
|
pkgname=kdev-python
|
2015-10-13 14:33:44 +08:00
|
|
|
pkgver=1.7.2
|
|
|
|
_pkgver=4.7.2
|
2013-06-03 01:53:39 +08:00
|
|
|
_branch=stable
|
2015-10-13 14:33:44 +08:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Python language plugin for KDevelop"
|
2012-11-28 02:09:14 +08:00
|
|
|
arch=('x86_64')
|
2013-06-03 01:53:39 +08:00
|
|
|
url="http://www.kdevelop.org/"
|
2012-11-28 02:09:14 +08:00
|
|
|
license=('GPL')
|
|
|
|
depends=('kdevelop')
|
2013-06-03 01:53:39 +08:00
|
|
|
makedepends=('cmake' 'automoc4' 'kdevelop-pg-qt')
|
2013-12-08 12:59:49 +08:00
|
|
|
source=("http://download.kde.org/${_branch}/kdevelop/${_pkgver}/src/${pkgname}-${pkgver}.tar.xz")
|
2015-10-13 14:33:44 +08:00
|
|
|
md5sums=('e0430e3e3872db3cee523f041235facb')
|
2012-11-28 02:09:14 +08:00
|
|
|
|
|
|
|
build() {
|
2013-12-08 12:59:49 +08:00
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
mkdir build && cd build
|
|
|
|
cmake \
|
2013-06-03 01:53:39 +08:00
|
|
|
-DCMAKE_BUILD_TYPE=RELWITHDEBINFO \
|
|
|
|
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \
|
2013-12-08 12:59:49 +08:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
..
|
2013-06-03 01:53:39 +08:00
|
|
|
make parser
|
|
|
|
make
|
2012-11-28 02:09:14 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2013-12-08 12:59:49 +08:00
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}/build"
|
2013-06-03 01:53:39 +08:00
|
|
|
make DESTDIR="${pkgdir}" install
|
2012-11-28 02:09:14 +08:00
|
|
|
}
|