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

Pierre Schmitz pierre at archlinux.org
Sat Nov 7 06:29:42 UTC 2020


    Date: Saturday, November 7, 2020 @ 06:29:42
  Author: pierre
Revision: 399577

archrelease: copy trunk to extra-any

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

----------+
 PKGBUILD |  106 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 53 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-07 06:29:32 UTC (rev 399576)
+++ PKGBUILD	2020-11-07 06:29:42 UTC (rev 399577)
@@ -1,53 +0,0 @@
-# Maintainer: Pierre Schmitz <pierre at archlinux.de>
-
-pkgname=composer
-pkgver=2.0.4
-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'
-            'c3b2bc477429c923c69f7f9b137e06b2a93c6a1e192d40ffad1741ee5d54760d')
-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 399576, composer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-07 06:29:42 UTC (rev 399577)
@@ -0,0 +1,53 @@
+# 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"
+}


More information about the arch-commits mailing list