summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Auditor2016-05-31 11:38:16 +0200
committerStefan Auditor2016-05-31 11:38:16 +0200
commit7d1eec50d652977cfe831fb0b1f2c9b5a04396fa (patch)
tree4e0bd889dbef100c34f1bdfec9ec1c5d45f01b01
parentfd45612857f1928669daf7802547587369941e94 (diff)
downloadaur-7d1eec50d652977cfe831fb0b1f2c9b5a04396fa.tar.gz
Inform the user of post-install configuration needs.
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD3
-rw-r--r--php-codesniffer-drupal.install3
3 files changed, 7 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 787b97c8e5a..4cae4f933fa 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,9 @@
-# Generated by mksrcinfo v8
-# Sun Apr 10 06:55:24 UTC 2016
pkgbase = php-codesniffer-drupal
pkgdesc = Drupal coding standard for PHP_CodeSniffer
pkgver = 8.x_2.7
- pkgrel = 1
+ pkgrel = 2
url = http://drupal.org/project/coder
+ install = php-codesniffer-drupal.install
arch = any
license = GPL
makedepends = git
diff --git a/PKGBUILD b/PKGBUILD
index 94905316614..4b6342b72f4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,13 +6,14 @@ _pkgname=php-codesniffer-drupal
pkgname=${_pkgname}
pkgver=8.x_2.7
_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")
makedepends=("git")
+install=${_pkgname}.install
source=("${_pkgname}"::"git+https://git.drupal.org/project/coder.git")
sha512sums=('SKIP')
diff --git a/php-codesniffer-drupal.install b/php-codesniffer-drupal.install
new file mode 100644
index 00000000000..f82b475dd4b
--- /dev/null
+++ b/php-codesniffer-drupal.install
@@ -0,0 +1,3 @@
+post_install() {
+ echo "Run \"phpcs --config-set installed_paths /usr/share/pear/PHP/CodeSniffer/Standards\" to inform phpcs of the new standards."
+}