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() {