desktop/kdev-python/PKGBUILD

35 lines
899 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-11-02 06:55:47 +08:00
pkgver=1.5.2
2013-06-03 01:53:39 +08:00
_branch=stable
pkgrel=1
2013-06-03 01:53:39 +08:00
pkgdesc="KDevelop plugin that starts a script by opening a webbrowser"
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-11-02 06:55:47 +08:00
source=("http://master.kde.org/${_branch}/kdevelop/${pkgname}/${pkgver}/src/${pkgname}-v${pkgver}.tar.xz")
md5sums=('1acb6ec3f3ef1fb56d75b2d51a6249fe')
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
}
package() {
2013-06-03 01:53:39 +08:00
cd "${srcdir}"/build
make DESTDIR="${pkgdir}" install
}