summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMassimiliano Torromeo2019-12-02 10:31:04 +0100
committerMassimiliano Torromeo2019-12-02 10:31:04 +0100
commit736876053fe9aa1fe0db8ed6bbfa0607e8091045 (patch)
treeb7ec8cbfd4ea8d9776a9d9d7bd4d47e030f22d76
parentb49d41c7e8b215c7078f805fab796d4ade2a7138 (diff)
downloadaur-736876053fe9aa1fe0db8ed6bbfa0607e8091045.tar.gz
Updated to latest stable 3.5.2
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD19
2 files changed, 18 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f9586465227..e44a34c6466 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,21 +1,20 @@
-# Generated by mksrcinfo v8
-# Thu Apr 11 09:13:53 UTC 2019
pkgbase = php-codesniffer
pkgdesc = PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files to detect and fix violations of a defined set of coding standards.
- pkgver = 3.4.2
- pkgrel = 3
+ pkgver = 3.5.2
+ pkgrel = 1
url = http://pear.php.net/package/PHP_CodeSniffer/
arch = any
- license = custom
+ license = BSD
depends = php
- source = phpcs-3.4.2.phar::https://github.com/squizlabs/PHP_CodeSniffer/releases/download/3.4.2/phpcs.phar
- source = phpcs-3.4.2.phar.asc::https://github.com/squizlabs/PHP_CodeSniffer/releases/download/3.4.2/phpcs.phar.asc
- source = phpcbf-3.4.2.phar::https://github.com/squizlabs/PHP_CodeSniffer/releases/download/3.4.2/phpcbf.phar
- source = phpcbf-3.4.2.phar.asc::https://github.com/squizlabs/PHP_CodeSniffer/releases/download/3.4.2/phpcbf.phar.asc
- source = licence-3.4.2.txt::https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/3.4.2/licence.txt
- sha256sums = 6966a9d41099caab6fe63728f20ff0dba4c9c5a2b157c735ece98b6367e16942
+ source = phpcs-3.5.2.phar::https://github.com/squizlabs/PHP_CodeSniffer/releases/download/3.5.2/phpcs.phar
+ source = phpcs-3.5.2.phar.asc::https://github.com/squizlabs/PHP_CodeSniffer/releases/download/3.5.2/phpcs.phar.asc
+ source = phpcbf-3.5.2.phar::https://github.com/squizlabs/PHP_CodeSniffer/releases/download/3.5.2/phpcbf.phar
+ source = phpcbf-3.5.2.phar.asc::https://github.com/squizlabs/PHP_CodeSniffer/releases/download/3.5.2/phpcbf.phar.asc
+ source = licence-3.5.2.txt::https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/3.5.2/licence.txt
+ validpgpkeys = A972B9ABB95D0B760B51442231C7E470E2138192
+ sha256sums = 15ad1fe73b3e972f666bf4d0e9b51548d4b50f780c9cf0c64999c78c9a4e644f
sha256sums = SKIP
- sha256sums = d7b9b36e92b674ebbaceb1d80cdf1fdd190bc8cfd00e1ce68ed2b712513e4423
+ sha256sums = a632465994bb5e17de8722c855c539a45e6e6e1785caf644820144436afd167e
sha256sums = SKIP
sha256sums = 821c1697ab88bb71a5d1637743024e455d87074b8a5d0732f85205bd40cba6c9
diff --git a/PKGBUILD b/PKGBUILD
index 733953dba50..5a7a60eaea2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,12 +3,12 @@
pkgname=php-codesniffer
_pkgname=PHP_CodeSniffer
-pkgver=3.4.2
-pkgrel=3
+pkgver=3.5.2
+pkgrel=1
pkgdesc="PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files to detect and fix violations of a defined set of coding standards."
arch=('any')
url="http://pear.php.net/package/PHP_CodeSniffer/"
-license=('custom')
+license=('BSD')
depends=('php')
source=("phpcs-${pkgver}.phar::https://github.com/squizlabs/${_pkgname}/releases/download/${pkgver}/phpcs.phar"
"phpcs-${pkgver}.phar.asc::https://github.com/squizlabs/${_pkgname}/releases/download/${pkgver}/phpcs.phar.asc"
@@ -16,20 +16,15 @@ source=("phpcs-${pkgver}.phar::https://github.com/squizlabs/${_pkgname}/releases
"phpcbf-${pkgver}.phar.asc::https://github.com/squizlabs/${_pkgname}/releases/download/${pkgver}/phpcbf.phar.asc"
"licence-${pkgver}.txt::https://raw.githubusercontent.com/squizlabs/${_pkgname}/${pkgver}/licence.txt")
validpgpkeys=('A972B9ABB95D0B760B51442231C7E470E2138192')
-sha256sums=('6966a9d41099caab6fe63728f20ff0dba4c9c5a2b157c735ece98b6367e16942'
+sha256sums=('15ad1fe73b3e972f666bf4d0e9b51548d4b50f780c9cf0c64999c78c9a4e644f'
'SKIP'
- 'd7b9b36e92b674ebbaceb1d80cdf1fdd190bc8cfd00e1ce68ed2b712513e4423'
+ 'a632465994bb5e17de8722c855c539a45e6e6e1785caf644820144436afd167e'
'SKIP'
'821c1697ab88bb71a5d1637743024e455d87074b8a5d0732f85205bd40cba6c9')
package() {
- install -d "${pkgdir}/usr/share/webapps/bin"
- install -D -m 755 "${srcdir}/phpcs-${pkgver}.phar" "${pkgdir}/usr/share/webapps/bin/phpcs.phar"
- install -D -m 755 "${srcdir}/phpcbf-${pkgver}.phar" "${pkgdir}/usr/share/webapps/bin/phpcbf.phar"
-
- install -d "${pkgdir}/usr/bin"
- ln -s "/usr/share/webapps/bin/phpcs.phar" "${pkgdir}/usr/bin/phpcs"
- ln -s "/usr/share/webapps/bin/phpcbf.phar" "${pkgdir}/usr/bin/phpcbf"
+ install -Dm0755 "${srcdir}/phpcs-${pkgver}.phar" "${pkgdir}/usr/bin/phpcs"
+ install -Dm0755 "${srcdir}/phpcbf-${pkgver}.phar" "${pkgdir}/usr/bin/phpcbf"
install -d "${pkgdir}/usr/share/licenses"
install -D -m 644 "${srcdir}/licence-${pkgver}.txt" "${pkgdir}/usr/share/licenses/${pkgname}/licence.txt"