diff options
author | Michal Wojdyla | 2021-04-29 02:15:42 +0200 |
---|---|---|
committer | Michal Wojdyla | 2021-04-29 02:15:42 +0200 |
commit | 590a19e4bae3f3b41373df2fa22d469d8fd6cd24 (patch) | |
tree | 997ceba6623ffa249d85388bd9d27e2d49a7caa6 | |
parent | d40be545c023a62aa8560fe52f5e9f626929eca0 (diff) | |
download | aur-590a19e4bae3f3b41373df2fa22d469d8fd6cd24.tar.gz |
update build
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 46 |
2 files changed, 26 insertions, 41 deletions
@@ -1,24 +1,19 @@ pkgbase = kdevelop-php-git - pkgdesc = PHP language plugin for KDevelop - Git build - pkgver = v4.90.91.r33.gd3b3852 + pkgdesc = PHP language and documentation plugin for KDevelop + pkgver = v5.6.2.r3.gc967ed0 pkgrel = 1 url = http://www.kdevelop.org/ - arch = i686 arch = x86_64 - groups = kde - groups = kdevelop-plugins license = GPL - makedepends = cmake - makedepends = automoc4 + makedepends = extra-cmake-modules + makedepends = kdoctools + makedepends = kdevelop-pg-qt makedepends = git - makedepends = php - depends = kdevplatform-git - depends = kdevelop-git - depends = php + depends = kdevelop provides = kdevelop-php conflicts = kdevelop-php - source = git+git://anongit.kde.org/kdev-php.git - md5sums = SKIP + source = git+https://invent.kde.org/kdevelop/kdev-php.git#branch=5.6 + sha256sums = SKIP pkgname = kdevelop-php-git @@ -1,42 +1,32 @@ +# Contributor: Michal Wojdyla < micwoj9292 at gmail dot com > # Contributor: Felix Mauch <felix_mauch@web.de> pkgname=kdevelop-php-git -pkgver=v4.90.91.r33.gd3b3852 +pkgver=v5.6.2.r3.gc967ed0 pkgrel=1 -pkgdesc="PHP language plugin for KDevelop - Git build" -arch=('i686' 'x86_64') +pkgdesc="PHP language and documentation plugin for KDevelop" +arch=(x86_64) url="http://www.kdevelop.org/" -license=('GPL') -groups=('kde' 'kdevelop-plugins') -depends=('kdevplatform-git' 'kdevelop-git' 'php') -makedepends=('cmake' 'automoc4' 'git' 'php') -source=('git+git://anongit.kde.org/kdev-php.git') -provides=('kdevelop-php') -conflicts=('kdevelop-php') -md5sums=('SKIP') +license=(GPL) +depends=(kdevelop) +makedepends=(extra-cmake-modules kdoctools kdevelop-pg-qt git) +source=("git+https://invent.kde.org/kdevelop/kdev-php.git#branch=5.6") # currently master branch fails +provides=(kdevelop-php) +conflicts=(kdevelop-php) +sha256sums=('SKIP') pkgver() { - cd "$srcdir/kdev-php" - git describe --long | sed -r 's/^foo-//;s/([^-]*-g)/r\1/;s/-/./g' + cd kdev-php + git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { - cd "$srcdir/kdev-php" - - mkdir -p "$srcdir/kdev-php/build" - cd "$srcdir/kdev-php/build" - - cmake ../ \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DLIB_INSTALL_DIR=lib \ - -DKDE_INSTALL_USE_QT_SYS_PATHS=ON - - make + cmake -B build -S kdev-php \ + -DBUILD_TESTING=OFF + cmake --build build } package() { - cd "$srcdir/kdev-php/build" - - make DESTDIR="$pkgdir/" install + DESTDIR="$pkgdir" cmake --install build } + |