# maintainer: Neophytos Kolokotronis # contributor: Jakub Kozisek pkgname=kdev-python pkgver=1.6.0 _pkgver=4.6.0 _branch=stable pkgrel=1 pkgdesc="Python language plugin for KDevelop”" arch=('x86_64') url="http://www.kdevelop.org/" license=('GPL') depends=('kdevelop') makedepends=('cmake' 'automoc4' 'kdevelop-pg-qt') source=("http://download.kde.org/${_branch}/kdevelop/${_pkgver}/src/${pkgname}-${pkgver}.tar.xz") md5sums=('146ca82161dada9d32dc31e7e3e1a19d') build() { cd "${srcdir}/${pkgname}-${pkgver}" mkdir build && cd build cmake \ -DCMAKE_BUILD_TYPE=RELWITHDEBINFO \ -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \ -DCMAKE_INSTALL_PREFIX=/usr \ .. make parser make } package() { cd "${srcdir}/${pkgname}-${pkgver}/build" make DESTDIR="${pkgdir}" install }