[arch-commits] Commit in composer/repos/extra-any (PKGBUILD PKGBUILD)
Pierre Schmitz
pierre at archlinux.org
Fri Aug 3 21:03:22 UTC 2018
Date: Friday, August 3, 2018 @ 21:03:21
Author: pierre
Revision: 330506
archrelease: copy trunk to extra-any
Added:
composer/repos/extra-any/PKGBUILD
(from rev 330505, composer/trunk/PKGBUILD)
Deleted:
composer/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 108 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 54 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-03 21:03:08 UTC (rev 330505)
+++ PKGBUILD 2018-08-03 21:03:21 UTC (rev 330506)
@@ -1,54 +0,0 @@
-# $Id$
-# Maintainer: Pierre Schmitz <pierre at archlinux.de>
-
-pkgname=composer
-pkgver=1.6.5
-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'
- 'a94a9497ad45cf5bfb2cd4669c73f8cd3b86d0d97a13828ee3b48e8675972293cec898bfb977e55cddf26c5261c5e039310b821d2d5eb4fa046ec5e9e317b21e')
-
-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 330505, composer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-03 21:03:21 UTC (rev 330506)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=composer
+pkgver=1.7.0
+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'
+ 'c969880bcd242270b97301baa2290f3f8f37c6d4e4b599b09b6e7f020bcb762612be55a398336228e9bc5e43e6f7a26b5a95d20334de852fa2f6b6e15a029afa')
+
+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
+}
More information about the arch-commits
mailing list