~shulhan/aur-php-cs-fixer

b83ff99877c9dbec91cc0a4b85368e4451536dc1 — Stefan Auditor 8 months ago fdc2748
Update to upstream version 3.17.0
2 files changed, 9 insertions(+), 5 deletions(-)

M .SRCINFO
M PKGBUILD
M .SRCINFO => .SRCINFO +1 -1
@@ 5,7 5,7 @@ pkgbase = php-cs-fixer
	url = https://github.com/PHP-CS-Fixer/PHP-CS-Fixer
	arch = any
	license = MIT
	makedepends = php-humbug-box-bin
	makedepends = php-box
	makedepends = composer
	makedepends = git
	depends = php>=7.1.3

M PKGBUILD => PKGBUILD +8 -4
@@ 10,14 10,18 @@ url="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer"
license=("MIT")
arch=("any")
depends=("php>=7.1.3")
makedepends=("php-humbug-box-bin" "composer" "git")
source=("${_pkgname}"::"git+https://github.com/PHP-CS-Fixer/PHP-CS-Fixer#tag=v${pkgver}")
makedepends=("php-box" "composer" "git")
source=("${_pkgname}::git+https://github.com/PHP-CS-Fixer/PHP-CS-Fixer#tag=v${pkgver}")
md5sums=('SKIP')

prepare() {
  cd "${srcdir}/${_pkgname}"
  composer install --no-interaction
}

build() {
  cd "${srcdir}/${_pkgname}"
  php /usr/bin/composer install --prefer-dist --no-dev
  php -d phar.readonly=Off /usr/bin/box compile
  box compile
}

package() {