2013-06-03 01:53:39 +08:00
|
|
|
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
|
|
|
# contributor: Jakub Kozisek <nodevel at gmail dot com>
|
2012-11-28 02:09:14 +08:00
|
|
|
|
|
|
|
pkgname=kdev-python
|
2013-11-02 06:55:47 +08:00
|
|
|
pkgver=1.5.2
|
2013-06-03 01:53:39 +08:00
|
|
|
_branch=stable
|
2012-11-28 02:09:14 +08:00
|
|
|
pkgrel=1
|
2013-06-03 01:53:39 +08:00
|
|
|
pkgdesc="KDevelop plugin that starts a script by opening a webbrowser"
|
2012-11-28 02:09:14 +08:00
|
|
|
arch=('x86_64')
|
2013-06-03 01:53:39 +08:00
|
|
|
url="http://www.kdevelop.org/"
|
2012-11-28 02:09:14 +08:00
|
|
|
license=('GPL')
|
|
|
|
depends=('kdevelop')
|
2013-06-03 01:53:39 +08:00
|
|
|
makedepends=('cmake' 'automoc4' 'kdevelop-pg-qt')
|
2013-11-02 06:55:47 +08:00
|
|
|
source=("http://master.kde.org/${_branch}/kdevelop/${pkgname}/${pkgver}/src/${pkgname}-v${pkgver}.tar.xz")
|
|
|
|
md5sums=('1acb6ec3f3ef1fb56d75b2d51a6249fe')
|
2012-11-28 02:09:14 +08:00
|
|
|
|
|
|
|
build() {
|
2013-06-03 01:53:39 +08:00
|
|
|
cd "${srcdir}"
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
cmake ../${pkgname}-v${pkgver} \
|
|
|
|
-DCMAKE_BUILD_TYPE=RELWITHDEBINFO \
|
|
|
|
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
|
|
|
|
|
|
make parser
|
|
|
|
make
|
2012-11-28 02:09:14 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2013-06-03 01:53:39 +08:00
|
|
|
cd "${srcdir}"/build
|
|
|
|
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2012-11-28 02:09:14 +08:00
|
|
|
}
|