desktop/kdev-python/PKGBUILD

36 lines
926 B
Bash
Raw Normal View History

pkgname=kdev-python
pkgver=5.3.1
2018-09-13 21:35:08 +08:00
pkgrel=1
pkgdesc="Python language and documentation plugin for KDevelop"
arch=('x86_64')
2013-06-03 01:53:39 +08:00
url="http://www.kdevelop.org/"
license=(GPL)
2017-11-15 21:29:03 +08:00
depends=(kdevelop python3 knewstuff threadweaver)
2016-10-17 20:55:02 +08:00
makedepends=(extra-cmake-modules)
2017-03-05 22:19:11 +08:00
source=("http://download.kde.org/stable/kdevelop/${pkgver}/src/${pkgname}-${pkgver}.tar.xz"{,.asc})
sha256sums=('97df0e4889e395ba889197a64a9820128c15b92f487d0884cd05028d45dac2f7'
'SKIP')
validpgpkeys=('329FD02C5AA48FCC77A4BBF0AC44AC6DB29779E6')
prepare() {
mkdir -p build
}
build() {
cd build
2018-09-13 21:35:08 +08:00
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_LIBDIR=lib \
-DKDE_INSTALL_SYSCONFDIR=/etc \
-DKDE_INSTALL_LIBEXECDIR=lib \
-DBUILD_TESTING=OFF \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}