desktop/kdev-python/PKGBUILD
2015-10-13 08:33:44 +02:00

34 lines
906 B
Bash

# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
# contributor: Jakub Kozisek <nodevel at gmail dot com>
pkgname=kdev-python
pkgver=1.7.2
_pkgver=4.7.2
_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=('e0430e3e3872db3cee523f041235facb')
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
}