desktop/kdev-python/PKGBUILD
2015-03-05 22:00:04 +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.7.1
_pkgver=4.7.1
_branch=stable
pkgrel=2
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=('4f1be4efbfb6c062bed4fbc825d0d079')
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
}