Date: Tuesday, October 5, 2021 @ 14:44:14 Author: pierre Revision: 425143
archrelease: copy trunk to extra-any Added: composer/repos/extra-any/PKGBUILD (from rev 425142, composer/trunk/PKGBUILD) Deleted: composer/repos/extra-any/PKGBUILD ----------+ PKGBUILD | 102 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 51 insertions(+), 51 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-10-05 14:44:10 UTC (rev 425142) +++ PKGBUILD 2021-10-05 14:44:14 UTC (rev 425143) @@ -1,51 +0,0 @@ -# Maintainer: Pierre Schmitz <pie...@archlinux.de> - -pkgname=composer -pkgver=2.1.8 -pkgrel=1 -pkgdesc="Dependency Manager for PHP" -arch=('any') -license=('MIT') -url='https://getcomposer.org/' -depends=('php' 'unzip') -makedepends=('git') -source=("${pkgname}::git+https://github.com/composer/composer.git#tag=${pkgver}" - "${pkgname}-${pkgver}.phar::https://getcomposer.org/download/${pkgver}/composer.phar") -sha256sums=('SKIP' - '77b8aca1b41174a67f27be066558f8a96f489916f4cded2bead3cab6a3f33590') - -prepare() { - cd "${srcdir}/${pkgname}" - - php "${srcdir}/${pkgname}-${pkgver}.phar" install --no-interaction --no-dev --no-progress --prefer-dist -} - -build() { - cd "${srcdir}/${pkgname}" - - php -d phar.readonly=Off bin/compile -} - -check() { - cd "${srcdir}" - - mkdir integration-test - cd integration-test - - php "${srcdir}/${pkgname}/composer.phar" init \ - --no-interaction \ - --type=project \ - --name='archlinux/test' \ - --description='Composer Test Project' \ - --license='GPL-3.0-or-later' \ - --require='symfony/console:*' - php "${srcdir}/${pkgname}/composer.phar" update --no-interaction --no-progress --prefer-dist - php "${srcdir}/${pkgname}/composer.phar" validate --no-interaction -} - -package() { - cd "${srcdir}/${pkgname}" - - install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - install -Dm755 composer.phar "${pkgdir}/usr/bin/composer" -} Copied: composer/repos/extra-any/PKGBUILD (from rev 425142, composer/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-10-05 14:44:14 UTC (rev 425143) @@ -0,0 +1,51 @@ +# Maintainer: Pierre Schmitz <pie...@archlinux.de> + +pkgname=composer +pkgver=2.1.9 +pkgrel=1 +pkgdesc="Dependency Manager for PHP" +arch=('any') +license=('MIT') +url='https://getcomposer.org/' +depends=('php' 'unzip') +makedepends=('git') +source=("${pkgname}::git+https://github.com/composer/composer.git#tag=${pkgver}" + "${pkgname}-${pkgver}.phar::https://getcomposer.org/download/${pkgver}/composer.phar") +sha256sums=('SKIP' + '4d00b70e146c17d663ad2f9a21ebb4c9d52b021b1ac15f648b4d371c04d648ba') + +prepare() { + cd "${srcdir}/${pkgname}" + + php "${srcdir}/${pkgname}-${pkgver}.phar" install --no-interaction --no-dev --no-progress --prefer-dist +} + +build() { + cd "${srcdir}/${pkgname}" + + php -d phar.readonly=Off bin/compile +} + +check() { + cd "${srcdir}" + + mkdir integration-test + cd integration-test + + php "${srcdir}/${pkgname}/composer.phar" init \ + --no-interaction \ + --type=project \ + --name='archlinux/test' \ + --description='Composer Test Project' \ + --license='GPL-3.0-or-later' \ + --require='symfony/console:*' + php "${srcdir}/${pkgname}/composer.phar" update --no-interaction --no-progress --prefer-dist + php "${srcdir}/${pkgname}/composer.phar" validate --no-interaction +} + +package() { + cd "${srcdir}/${pkgname}" + + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm755 composer.phar "${pkgdir}/usr/bin/composer" +}