[arch-commits] Commit in composer/repos/extra-any (PKGBUILD PKGBUILD)
Pierre Schmitz
pierre at archlinux.org
Sat Nov 7 10:59:10 UTC 2020
Date: Saturday, November 7, 2020 @ 10:59:10
Author: pierre
Revision: 399579
archrelease: copy trunk to extra-any
Added:
composer/repos/extra-any/PKGBUILD
(from rev 399578, composer/trunk/PKGBUILD)
Deleted:
composer/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 106 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 53 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-07 10:58:58 UTC (rev 399578)
+++ PKGBUILD 2020-11-07 10:59:10 UTC (rev 399579)
@@ -1,53 +0,0 @@
-# Maintainer: Pierre Schmitz <pierre at archlinux.de>
-
-pkgname=composer
-pkgver=2.0.5
-pkgrel=1
-pkgdesc="Dependency Manager for PHP"
-arch=('any')
-license=('MIT')
-url='https://getcomposer.org/'
-depends=('php' 'unzip')
-makedepends=('git')
-checkdepends=('php-intl')
-source=("${pkgname}::git+https://github.com/composer/composer.git#tag=${pkgver}"
- "${pkgname}-${pkgver}.phar::https://getcomposer.org/download/${pkgver}/composer.phar")
-sha256sums=('SKIP'
- 'e786d1d997efc1eb463d7447394b6ad17a144afcf8e505a3ce3cb0f60c3302f9')
-COMPOSER_FLAGS="--ansi --no-interaction --no-progress --prefer-dist"
-
-prepare() {
- cd "${srcdir}/${pkgname}"
-
- php "${srcdir}/${pkgname}-${pkgver}.phar" install --no-dev ${COMPOSER_FLAGS}
-}
-
-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 > /dev/null || msg2 "Upstream composer differs from ours"
-
- # Install the dev dependencies to run the unit tests
- bin/composer install ${COMPOSER_FLAGS}
-
- bin/composer validate
-
- git config --global user.email composer at example.com
- git config --global user.name composer
-
- php -d extension=intl vendor/bin/simple-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 399578, composer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-07 10:59:10 UTC (rev 399579)
@@ -0,0 +1,53 @@
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=composer
+pkgver=2.0.6
+pkgrel=1
+pkgdesc="Dependency Manager for PHP"
+arch=('any')
+license=('MIT')
+url='https://getcomposer.org/'
+depends=('php' 'unzip')
+makedepends=('git')
+checkdepends=('php-intl')
+source=("${pkgname}::git+https://github.com/composer/composer.git#tag=${pkgver}"
+ "${pkgname}-${pkgver}.phar::https://getcomposer.org/download/${pkgver}/composer.phar")
+sha256sums=('SKIP'
+ 'e5e39d8fa699ddb09844f6b4388280ff2c805fef0a7c26580c5bbc91ac35091b')
+COMPOSER_FLAGS="--ansi --no-interaction --no-progress --prefer-dist"
+
+prepare() {
+ cd "${srcdir}/${pkgname}"
+
+ php "${srcdir}/${pkgname}-${pkgver}.phar" install --no-dev ${COMPOSER_FLAGS}
+}
+
+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 > /dev/null || msg2 "Upstream composer differs from ours"
+
+ # Install the dev dependencies to run the unit tests
+ bin/composer install ${COMPOSER_FLAGS}
+
+ bin/composer validate
+
+ git config --global user.email composer at example.com
+ git config --global user.name composer
+
+ php -d extension=intl vendor/bin/simple-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