summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorsl1pkn072015-07-17 17:20:12 +0200
committersl1pkn072015-07-17 17:20:12 +0200
commitb1eefae39a6d100421fa6c123799fd097798884b (patch)
treee6d632f58d02e2517054ccc672da279deecbd7d0 /PKGBUILD
parent2feed468b1370def312740bc6999ab88cc9ada3b (diff)
downloadaur-b1eefae39a6d100421fa6c123799fd097798884b.tar.gz
Update pkgver()
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 9 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1d631365af0..a8b1c2c5b2c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,15 +4,13 @@
# Contributor: mosra <mosra@centrum.cz>
pkgname=kdevelop-git
-pkgver=4.90.90.r20707.07781db
+pkgver=4.90.1.r20748.2293e4e
pkgrel=1
pkgdesc="A C/C++ development environment for KDE. (GIT Version)"
-arch=(i686 x86_64)
-url="http://www.kdevelop.org/"
-license=(GPL)
-groups=('kde')
+arch=('i686' 'x86_64')
+url='http://www.kdevelop.org'
+license=('GPL')
depends=('qt5-tools' 'kdevplatform-git' 'krunner' 'hicolor-icon-theme')
-makedepends=('cmake' 'git' 'okteta' 'krunner' 'plasma-framework')
optdepends=('krunner: For enabling the KDevelop runner'
'plasma-framework: Plasma libraries for enabling the plasma addons'
'okteta: hex editor integration'
@@ -24,16 +22,16 @@ optdepends=('krunner: For enabling the KDevelop runner'
'qt4-doc: qt4 documentation integration'
'qt5-doc: qt5 documentation integration'
'cmake: build system')
-provides=('kdevelop')
+makedepends=('extra-cmake-modules' 'git' 'okteta' 'krunner' 'plasma-framework')
conflicts=('kdevelop')
-source=(git+git://anongit.kde.org/kdevelop)
+source=('git://anongit.kde.org/kdevelop.git')
sha1sums=('SKIP')
-install='kdevelop-git.install'
+install=kdevelop-git.install
pkgver() {
cd kdevelop
- _ver="$(cat CMakeLists.txt | grep -e KDEVELOP_VERSION_MAJOR -e KDEVELOP_VERSION_MINOR -e KDEVELOP_VERSION_PATCH | head -n3 | cut -d ' ' -f3 | tr -d ')')"
- echo "$(echo ${_ver} | tr ' ' .).r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+ _ver="$(cat CMakeLists.txt | grep -m3 -e KDEVELOP_VERSION_MAJOR -e KDEVELOP_VERSION_NINOR -e KDEVELOP_VERSION_PATCH | grep -o "[[:digit:]]*" | paste -sd'.')"
+ echo "${_ver}.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
prepare() {