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

Pierre Schmitz pierre at archlinux.org
Fri Dec 4 05:29:13 UTC 2020


    Date: Friday, December 4, 2020 @ 05:29:12
  Author: pierre
Revision: 402857

archrelease: copy trunk to extra-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-04 05:29:09 UTC (rev 402856)
+++ PKGBUILD	2020-12-04 05:29:12 UTC (rev 402857)
@@ -1,53 +0,0 @@
-# Maintainer: Pierre Schmitz <pierre at archlinux.de>
-
-pkgname=composer
-pkgver=2.0.7
-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'
-            '0a060e8caf1d5cde55c4562fd68369b08cf231b8fd30da9c8f994b111557ebe9')
-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 402856, composer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-04 05:29:12 UTC (rev 402857)
@@ -0,0 +1,53 @@
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=composer
+pkgver=2.0.8
+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'
+            '2021f0d52b446e0efe3c548cc058ab5671fa38cdbcf814e7911c7e9d71d61538')
+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