summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Auditor2017-06-27 15:02:52 +0200
committerStefan Auditor2017-06-27 15:02:52 +0200
commit3e9f3d7a1a5cca73ea9334940e0d6bc58e66adf7 (patch)
treed249d9cc4846e0df3f95eeede48590df76a20d4a
parent098a260a94db874b27aea3915b1e5f7f105ae30c (diff)
downloadaur-3e9f3d7a1a5cca73ea9334940e0d6bc58e66adf7.tar.gz
Add version constraint for php-codesniffer dependency
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6f8b8992704..f9989361ef8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
pkgbase = php-codesniffer-drupal
pkgdesc = Drupal coding standard for PHP_CodeSniffer
pkgver = 8.x_2.12
- pkgrel = 1
+ pkgrel = 2
url = http://drupal.org/project/coder
install = php-codesniffer-drupal.install
arch = any
license = GPL
makedepends = git
- depends = php-codesniffer
+ depends = php-codesniffer<3.0.0
source = php-codesniffer-drupal::git+https://git.drupal.org/project/coder.git
sha512sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index cd9a55e8763..3ed18248e08 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,12 +6,12 @@ _pkgname=php-codesniffer-drupal
pkgname=${_pkgname}
pkgver=8.x_2.12
_pkgver=${pkgver//[_]/-}
-pkgrel=1
+pkgrel=2
pkgdesc="Drupal coding standard for PHP_CodeSniffer"
arch=("any")
url="http://drupal.org/project/coder"
license=("GPL")
-depends=("php-codesniffer")
+depends=('php-codesniffer<3.0.0')
makedepends=("git")
install=${_pkgname}.install
source=("${_pkgname}"::"git+https://git.drupal.org/project/coder.git")