kdev-python: use variables, prepare to be group

This commit is contained in:
Chaoting Liu 2016-10-17 16:05:40 +01:00
parent fa98735942
commit 4311a7c04e

View File

@ -1,7 +1,8 @@
# Include global configuration
source ../kdeapps.conf
pkgname=kdev-python
pkgver=5.0.2
pkgver=$_kdevver
pkgrel=1
pkgdesc="Python language and documentation plugin for KDevelop"
arch=('x86_64')
@ -9,11 +10,11 @@ url="http://www.kdevelop.org/"
license=(GPL)
depends=(kdevelop python3)
makedepends=(extra-cmake-modules)
provides=(kdev-python-py3)
conflicts=(kdev-python-py3)
replaces=(kdev-python-py3)
source=("http://download.kde.org/stable/kdevelop/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
sha1sums=('2711050bac439e1597d32dc05f53dddeb96ccf08')
source=("http://download.kde.org/stable/kdevelop/${pkgver}/src/${pkgname}-${pkgver}.tar.xz"{,.sig})
sha256sums=("`grep ${pkgname}-${pkgver}.tar.xz ../kdevelop.checksums | cut -d " " -f1`"
'SKIP')
validpgpkeys=('329FD02C5AA48FCC77A4BBF0AC44AC6DB29779E6')
prepare() {
mkdir -p build