[arch-commits] Commit in composer/repos/extra-any (PKGBUILD PKGBUILD)
Pierre Schmitz
pierre at gemini.archlinux.org
Wed Dec 22 10:13:18 UTC 2021
Date: Wednesday, December 22, 2021 @ 10:13:18
Author: pierre
Revision: 432905
archrelease: copy trunk to extra-any
Added:
composer/repos/extra-any/PKGBUILD
(from rev 432904, composer/trunk/PKGBUILD)
Deleted:
composer/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 102 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 51 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-22 10:13:10 UTC (rev 432904)
+++ PKGBUILD 2021-12-22 10:13:18 UTC (rev 432905)
@@ -1,51 +0,0 @@
-# Maintainer: Pierre Schmitz <pierre at archlinux.de>
-
-pkgname=composer
-pkgver=2.1.14
-pkgrel=1
-pkgdesc="Dependency Manager for PHP"
-arch=('any')
-license=('MIT')
-url='https://getcomposer.org/'
-depends=('php' 'unzip')
-makedepends=('git')
-source=("${pkgname}::git+https://github.com/composer/composer.git#tag=${pkgver}"
- "${pkgname}-${pkgver}.phar::https://getcomposer.org/download/${pkgver}/composer.phar")
-sha256sums=('SKIP'
- 'd44a904520f9aaa766e8b4b05d2d9a766ad9a6f03fa1a48518224aad703061a4')
-
-prepare() {
- cd "${srcdir}/${pkgname}"
-
- php "${srcdir}/${pkgname}-${pkgver}.phar" install --no-interaction --no-dev --no-progress --prefer-dist
-}
-
-build() {
- cd "${srcdir}/${pkgname}"
-
- php -d phar.readonly=Off bin/compile
-}
-
-check() {
- cd "${srcdir}"
-
- mkdir integration-test
- cd integration-test
-
- php "${srcdir}/${pkgname}/composer.phar" init \
- --no-interaction \
- --type=project \
- --name='archlinux/test' \
- --description='Composer Test Project' \
- --license='GPL-3.0-or-later' \
- --require='symfony/console:*'
- php "${srcdir}/${pkgname}/composer.phar" update --no-interaction --no-progress --prefer-dist
- php "${srcdir}/${pkgname}/composer.phar" validate --no-interaction
-}
-
-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 432904, composer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-22 10:13:18 UTC (rev 432905)
@@ -0,0 +1,51 @@
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=composer
+pkgver=2.2.0
+pkgrel=1
+pkgdesc="Dependency Manager for PHP"
+arch=('any')
+license=('MIT')
+url='https://getcomposer.org/'
+depends=('php' 'unzip')
+makedepends=('git')
+source=("${pkgname}::git+https://github.com/composer/composer.git#tag=${pkgver}"
+ "${pkgname}-${pkgver}.phar::https://getcomposer.org/download/${pkgver}/composer.phar")
+sha256sums=('SKIP'
+ 'f7928b5465ad14c49901174d72c701d74ee278479ae19a44f6a46839e2d87d4d')
+
+prepare() {
+ cd "${srcdir}/${pkgname}"
+
+ php "${srcdir}/${pkgname}-${pkgver}.phar" install --no-interaction --no-dev --no-progress --prefer-dist
+}
+
+build() {
+ cd "${srcdir}/${pkgname}"
+
+ php -d phar.readonly=Off bin/compile
+}
+
+check() {
+ cd "${srcdir}"
+
+ mkdir integration-test
+ cd integration-test
+
+ php "${srcdir}/${pkgname}/composer.phar" init \
+ --no-interaction \
+ --type=project \
+ --name='archlinux/test' \
+ --description='Composer Test Project' \
+ --license='GPL-3.0-or-later' \
+ --require='symfony/console:*'
+ php "${srcdir}/${pkgname}/composer.phar" update --no-interaction --no-progress --prefer-dist
+ php "${srcdir}/${pkgname}/composer.phar" validate --no-interaction
+}
+
+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