Date: Friday, April 13, 2018 @ 12:13:04 Author: pierre Revision: 321676
archrelease: copy trunk to extra-any Added: composer/repos/extra-any/PKGBUILD (from rev 321675, composer/trunk/PKGBUILD) Deleted: composer/repos/extra-any/PKGBUILD ----------+ PKGBUILD | 108 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 54 insertions(+), 54 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-04-13 12:12:51 UTC (rev 321675) +++ PKGBUILD 2018-04-13 12:13:04 UTC (rev 321676) @@ -1,54 +0,0 @@ -# $Id$ -# Maintainer: Pierre Schmitz <pie...@archlinux.de> - -pkgname=composer -pkgver=1.6.3 -pkgrel=1 -pkgdesc="Dependency Manager for PHP" -arch=('any') -license=('MIT') -url='https://getcomposer.org/' -depends=('php') -makedepends=('git') -checkdepends=('git' 'mercurial' 'parallel') -replaces=('php-composer') -conflicts=('php-composer') -provides=('php-composer') -source=("${pkgname}::git+https://github.com/composer/composer.git#tag=${pkgver}" - "${pkgname}-${pkgver}.phar::https://getcomposer.org/download/${pkgver}/composer.phar") -sha512sums=('SKIP' - 'ec6ed7f897709a79f39c73d6a373d82516fbd32930070ab073f831c81c813a0cc155a08a0b56257938563f453e567ba4738051ae9956f856e43528b5262c2b3c') - -prepare() { - cd ${srcdir}/${pkgname} - - php ${srcdir}/${pkgname}-${pkgver}.phar -n install --no-dev --prefer-dist -} - -build() { - cd ${srcdir}/${pkgname} - - php -d phar.readonly=Off bin/compile -} - -check() { - cd ${srcdir}/${pkgname} - - # check if the upstream build and ours differ - diff -q ${srcdir}/${pkgname}-${pkgver}.phar composer.phar - - git config --global user.email "${USER}@${HOST}" - git config --global user.name "${USER}" - - # Install the dev dependencies to run the unit tests - bin/composer -n install --prefer-dist - - ls -d tests/Composer/Test/* | parallel --gnu --keep-order vendor/bin/phpunit {} \; -} - -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 321675, composer/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-04-13 12:13:04 UTC (rev 321676) @@ -0,0 +1,54 @@ +# $Id$ +# Maintainer: Pierre Schmitz <pie...@archlinux.de> + +pkgname=composer +pkgver=1.6.4 +pkgrel=1 +pkgdesc="Dependency Manager for PHP" +arch=('any') +license=('MIT') +url='https://getcomposer.org/' +depends=('php') +makedepends=('git') +checkdepends=('git' 'mercurial' 'parallel') +replaces=('php-composer') +conflicts=('php-composer') +provides=('php-composer') +source=("${pkgname}::git+https://github.com/composer/composer.git#tag=${pkgver}" + "${pkgname}-${pkgver}.phar::https://getcomposer.org/download/${pkgver}/composer.phar") +sha512sums=('SKIP' + '1d9824f5bfbeedc4374ccb82fd0d999aa3dd29bb737aba3b289f597b962050a22b03c9d0aed6ff379b67fb5c653fccf80160ead47144d4a0a3cf2853d76acf58') + +prepare() { + cd ${srcdir}/${pkgname} + + php ${srcdir}/${pkgname}-${pkgver}.phar -n install --no-dev --prefer-dist +} + +build() { + cd ${srcdir}/${pkgname} + + php -d phar.readonly=Off bin/compile +} + +check() { + cd ${srcdir}/${pkgname} + + # check if the upstream build and ours differ + diff -q ${srcdir}/${pkgname}-${pkgver}.phar composer.phar + + git config --global user.email "${USER}@${HOST}" + git config --global user.name "${USER}" + + # Install the dev dependencies to run the unit tests + bin/composer -n install --prefer-dist + + ls -d tests/Composer/Test/* | parallel --gnu --keep-order vendor/bin/phpunit {} \; +} + +package() { + cd ${srcdir}/${pkgname} + + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + install -Dm755 composer.phar ${pkgdir}/usr/bin/composer +}