desktop/kdev-python-py3/PKGBUILD
2014-09-14 00:56:43 +00:00

35 lines
920 B
Bash

# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
# contributor: Jakub Kozisek <nodevel at gmail dot com>
_pkgname=kdev-python
pkgname=kdev-python-py3
pkgver=1.7.0
_pkgver=4.7.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')
conflicts=('kdev-python')
source=("http://download.kde.org/${_branch}/kdevelop/${_pkgver}/src/${_pkgname}-${pkgver}-py3.tar.xz")
build() {
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 \
"../${_pkgname}-${pkgver}-py3"
make parser
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}
md5sums=('708e43202056cc241209109b8bbd5bd0')