[arch-commits] Commit in composer/repos/extra-any (PKGBUILD PKGBUILD)
Pierre Schmitz
pierre at archlinux.org
Mon Aug 3 11:29:01 UTC 2020
Date: Monday, August 3, 2020 @ 11:29:01
Author: pierre
Revision: 393090
archrelease: copy trunk to extra-any
Added:
composer/repos/extra-any/PKGBUILD
(from rev 393089, composer/trunk/PKGBUILD)
Deleted:
composer/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 116 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 58 insertions(+), 58 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-03 11:28:52 UTC (rev 393089)
+++ PKGBUILD 2020-08-03 11:29:01 UTC (rev 393090)
@@ -1,58 +0,0 @@
-# Maintainer: Pierre Schmitz <pierre at archlinux.de>
-
-pkgname=composer
-pkgver=1.10.9
-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'
- '9ab7911d62cc64b7823673766a24aaf763784f3af8763a59a25353f9b90a0f6df1e65081faae871b9cddeade3f8d1a1cb048e4c43445f9f540d8f0d6b92565b6')
-
-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
-
- bin/composer validate
-
- 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
-
- # Fix test dependencies for Composer 1.10.7
- bin/composer require --dev 'symfony/phpunit-bridge:^4.2'
-
- SYMFONY_PHPUNIT_VERSION=7.5 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 393089, composer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-08-03 11:29:01 UTC (rev 393090)
@@ -0,0 +1,58 @@
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=composer
+pkgver=1.10.10
+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'
+ 'd9a2478382d7ed4502593860c958c44327928c989bbf7be363e916d9fcc2e9ad95e041e7845331f096017c1e88f184bbaa9a635c670ca5cbb075736bf297b640')
+
+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
+
+ bin/composer validate
+
+ 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
+
+ # Fix test dependencies for Composer 1.10.7
+ bin/composer require --dev 'symfony/phpunit-bridge:^4.2'
+
+ SYMFONY_PHPUNIT_VERSION=7.5 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