[arch-commits] Commit in composer/repos/extra-any (PKGBUILD PKGBUILD)
Pierre Schmitz
pierre at archlinux.org
Tue Feb 23 16:29:35 UTC 2021
Date: Tuesday, February 23, 2021 @ 16:29:34
Author: pierre
Revision: 408674
archrelease: copy trunk to extra-any
Added:
composer/repos/extra-any/PKGBUILD
(from rev 408673, composer/trunk/PKGBUILD)
Deleted:
composer/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 102 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 51 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-23 16:29:30 UTC (rev 408673)
+++ PKGBUILD 2021-02-23 16:29:34 UTC (rev 408674)
@@ -1,51 +0,0 @@
-# Maintainer: Pierre Schmitz <pierre at archlinux.de>
-
-pkgname=composer
-pkgver=2.0.9
-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'
- '24faa5bc807e399f32e9a21a33fbb5b0686df9c8850efabe2c047c2ccfb9f9cc')
-
-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 408673, composer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-02-23 16:29:34 UTC (rev 408674)
@@ -0,0 +1,51 @@
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=composer
+pkgver=2.0.10
+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'
+ '92cb8b75268b23d1275e6d72dd398b29244505bea6d1f247ba126fd45a990645')
+
+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