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

Pierre Schmitz pierre at archlinux.org
Fri Oct 30 22:00:42 UTC 2020


    Date: Friday, October 30, 2020 @ 22:00:42
  Author: pierre
Revision: 399067

archrelease: copy trunk to extra-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-30 22:00:33 UTC (rev 399066)
+++ PKGBUILD	2020-10-30 22:00:42 UTC (rev 399067)
@@ -1,53 +0,0 @@
-# Maintainer: Pierre Schmitz <pierre at archlinux.de>
-
-pkgname=composer
-pkgver=2.0.3
-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'
-            '5d377e9b504dc9f6c9228d81c321ba85290512cdb396a12d3708b0cd30d2e20c')
-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 399066, composer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-10-30 22:00:42 UTC (rev 399067)
@@ -0,0 +1,53 @@
+# 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"
+}



More information about the arch-commits mailing list