[arch-commits] Commit in composer/repos/extra-any (PKGBUILD PKGBUILD)
Pierre Schmitz
pierre at archlinux.org
Thu Nov 1 10:09:33 UTC 2018
Date: Thursday, November 1, 2018 @ 10:09:33
Author: pierre
Revision: 337673
archrelease: copy trunk to extra-any
Added:
composer/repos/extra-any/PKGBUILD
(from rev 337672, composer/trunk/PKGBUILD)
Deleted:
composer/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 107 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 53 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-01 10:09:26 UTC (rev 337672)
+++ PKGBUILD 2018-11-01 10:09:33 UTC (rev 337673)
@@ -1,54 +0,0 @@
-# $Id$
-# Maintainer: Pierre Schmitz <pierre at archlinux.de>
-
-pkgname=composer
-pkgver=1.7.2
-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'
- '6dfd9afc111668a4948a5f8ce8cf7b752cbfed93992cab08dd6c966a35e0b5ce2c66e9eb71bd783fc2ade38cdcead121251440bf461b993ba8ae92925a61174a')
-
-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 337672, composer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-11-01 10:09:33 UTC (rev 337673)
@@ -0,0 +1,53 @@
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=composer
+pkgver=1.7.3
+pkgrel=1
+pkgdesc="Dependency Manager for PHP"
+arch=('any')
+license=('MIT')
+url='https://getcomposer.org/'
+depends=('php')
+makedepends=('git' 'unzip')
+checkdepends=('mercurial')
+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'
+ '1233e17ab89fba7183e452bb3e0bd2cee816cba719867498eae6548e5b3b9160f11d18ae0e71ae41e958ae582c8080f961ba819ffae1b0b9ec110ed5cebe925c')
+
+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
+
+ vendor/bin/phpunit
+}
+
+package() {
+ cd ${srcdir}/${pkgname}
+
+ install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ install -Dm755 composer.phar ${pkgdir}/usr/bin/composer
+}
More information about the arch-commits
mailing list