summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Auditor2015-07-21 17:34:39 +0200
committerStefan Auditor2015-07-21 17:34:39 +0200
commiteb0182387381de35142c8af60105ab764fe29405 (patch)
treeec21395d999c8ceeedd8b2ec77c6999fe2c8b802
parent7d1348c961fa19315e3551d5e1b77504a15140e3 (diff)
downloadaur-eb0182387381de35142c8af60105ab764fe29405.tar.gz
Update code style
-rw-r--r--PKGBUILD23
1 files changed, 12 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index dbb10a1e203..1b9de8a5c78 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,19 +2,20 @@
# Contributor: Joris Steyn <jorissteyn@gmail.com>
pkgname=php-codesniffer-drupal
pkgver=8.x_2.3
+_pkgver=8.x-2.3
pkgrel=1
-pkgdesc='Drupal coding standard for PHP_CodeSniffer'
-arch=('any')
-url='http://drupal.org/project/coder'
-license=('GPLv2')
-depends=('php-codesniffer')
-provides=('php-codesniffer-drupal')
-source=('http://ftp.drupal.org/files/projects/coder-8.x-2.3.tar.gz')
+pkgdesc="Drupal coding standard for PHP_CodeSniffer"
+arch=("any")
+url="http://drupal.org/project/coder"
+license=("GPLv2")
+depends=("php-codesniffer")
+provides=("php-codesniffer-drupal")
+source=("http://ftp.drupal.org/files/projects/coder-${_pkgver}.tar.gz")
md5sums=('a2fda7e9fdf55dc5ad36dd0d482973bd')
package() {
- install -d "$pkgdir"/usr/share/pear/PHP/CodeSniffer/Standards/Drupal
- cp -dr --no-preserve=ownership "$srcdir"/coder/coder_sniffer/Drupal/* "$pkgdir"/usr/share/pear/PHP/CodeSniffer/Standards/Drupal/
- install -d "$pkgdir"/usr/share/pear/PHP/CodeSniffer/Standards/DrupalPractice
- cp -dr --no-preserve=ownership "$srcdir"/coder/coder_sniffer/DrupalPractice/* "$pkgdir"/usr/share/pear/PHP/CodeSniffer/Standards/DrupalPractice/
+ install -d "${pkgdir}/usr/share/pear/PHP/CodeSniffer/Standards/Drupal"
+ cp -dr --no-preserve=ownership "${srcdir}/coder/coder_sniffer/Drupal/*" "${pkgdir}/usr/share/pear/PHP/CodeSniffer/Standards/Drupal/"
+ install -d "${pkgdir}/usr/share/pear/PHP/CodeSniffer/Standards/DrupalPractice"
+ cp -dr --no-preserve=ownership "${srcdir}/coder/coder_sniffer/DrupalPractice/*" "${pkgdir}/usr/share/pear/PHP/CodeSniffer/Standards/DrupalPractice/"
}