[arch-commits] Commit in composer/repos/extra-any (PKGBUILD PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Wed Sep 9 05:26:22 UTC 2020


    Date: Wednesday, September 9, 2020 @ 05:26:22
  Author: pierre
Revision: 395587

archrelease: copy trunk to extra-any

Added:
  composer/repos/extra-any/PKGBUILD
    (from rev 395586, composer/trunk/PKGBUILD)
Deleted:
  composer/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |  116 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-09 05:26:13 UTC (rev 395586)
+++ PKGBUILD	2020-09-09 05:26:22 UTC (rev 395587)
@@ -1,58 +0,0 @@
-# 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"
-}

Copied: composer/repos/extra-any/PKGBUILD (from rev 395586, composer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-09 05:26:22 UTC (rev 395587)
@@ -0,0 +1,58 @@
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=composer
+pkgver=1.10.11
+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'
+            'a12366de859a4a109abc0e2a60fed9130e7b03e1762b04489bf694e6097534ffb98e6daa989668566e659e3a9eab5cc29bcc7d2d0bd5423a9c439ad350b4cf52')
+
+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