desktop/kdev-python/PKGBUILD
2013-12-10 02:50:02 +00:00

34 lines
909 B
Bash

# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
# contributor: Jakub Kozisek <nodevel at gmail dot com>
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
}