desktop/kdev-python/PKGBUILD

34 lines
909 B
Bash
Raw Normal View History

2013-06-03 01:53:39 +08:00
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
# contributor: Jakub Kozisek <nodevel at gmail dot com>
pkgname=kdev-python
2013-12-08 12:59:49 +08:00
pkgver=1.6.0
_pkgver=4.6.0
2013-06-03 01:53:39 +08:00
_branch=stable
pkgrel=1
2013-12-10 10:50:02 +08:00
pkgdesc="Python language plugin for KDevelop”"
arch=('x86_64')
2013-06-03 01:53:39 +08:00
url="http://www.kdevelop.org/"
license=('GPL')
depends=('kdevelop')
2013-06-03 01:53:39 +08:00
makedepends=('cmake' 'automoc4' 'kdevelop-pg-qt')
2013-12-08 12:59:49 +08:00
source=("http://download.kde.org/${_branch}/kdevelop/${_pkgver}/src/${pkgname}-${pkgver}.tar.xz")
md5sums=('146ca82161dada9d32dc31e7e3e1a19d')
build() {
2013-12-08 12:59:49 +08:00
cd "${srcdir}/${pkgname}-${pkgver}"
mkdir build && cd build
cmake \
2013-06-03 01:53:39 +08:00
-DCMAKE_BUILD_TYPE=RELWITHDEBINFO \
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \
2013-12-08 12:59:49 +08:00
-DCMAKE_INSTALL_PREFIX=/usr \
..
2013-06-03 01:53:39 +08:00
make parser
make
}
package() {
2013-12-08 12:59:49 +08:00
cd "${srcdir}/${pkgname}-${pkgver}/build"
2013-06-03 01:53:39 +08:00
make DESTDIR="${pkgdir}" install
}